Perl For Mac



Download the trusted Perl distribution for Windows, Linux and Mac, pre-bundled with top Perl modules – free for development use.

Get ActivePerl Community Edition

32-bit and other older/legacy versions are available through the ActiveState Platform with a paid subscription. See pricing here.

In most of the cases, you have it already installed on your System as several Operating systems have it pre-installed. To check whether you have it on. Now, this is a Mac, so Perl is already installed and it's already in the path, so all I have to put here for the command is Perl and the name of the file that we're going to run, which is a meta.

Mac

ActivePerl is now offered through the ActiveState Platform. Create a free account above and get these benefits:

  • Download Perl and get notified of updates
  • Customize Perl with only the packages you need
  • Share your Perl runtime environment with your team

Build a custom Perl tailored to your needs

  • Pick only the packages you need
  • We automatically resolve all dependencies
  • You get an easy-to-deploy runtime environment

Build for Windows and Linux.
MacOS coming soon.

Perl Mack

By downloading ActivePerl Community Edition, you agree to comply with the terms of use of the ActiveState Community License. Need help? Please refer to our documentation.

Looking to Download Perl For Beyond Development Use? Take a look at our licensing options.

Commercial support, older versions of Perl, or redistributing ActivePerl in your software – We’ve got you covered on the ActiveState Platform. Compare pricing options in detail.

Build, certify and resolve your open source languages on the ActiveState Platform. Automate your build engineering cycle, dependency management and checking for threats and license compliance.

  • USAGE

Net::SSH::Perl::Mac - MAC support for SSH2

Net::SSH::Perl::Mac (and its subclasses) provides MAC support for the SSH2 implementation in Net::SSH::Perl. In the SSH2 protocol, each packet sent between client and server (after the key exchange and algorithm negotiation phase) contains a MAC to protect its integrity. The sending party computes the MAC over the length, padding, and (encrypted) payload fields of the packet, then appends the MAC; and the receiving party recomputes the MAC against the data that it receives.

The MAC is computed using part of the key that is negotiated during the key exchange phase. During negotiation, packets do not contain MAC; after the SSH_MSG_NEWKEYS message is sent, each side turns on its respective encryption, MAC, and compression code, for each packet that is sent after that point.

Center

Net::SSH::Perl supports two MAC algorithms: hmac-sha1 and hmac-md5. These algorithms are implemented, respectively, by Digest::HMAC_SHA1 and Digest::HMAC_MD5.

Each MAC object supports the following methods:

$mac = Net::SSH::Perl::Mac->new( $name )

Constructs a new MAC object and returns that object.

$mac->init( $key )

Initializes $mac and sets its key to $key (or rather, to a substring of key, key_len bytes long). As this implies, the key_len method should be called before init to set the intended length of the key.

$mac->hmac( $data )

Computes the MAC over $data, using the key set in the initialization phase, and returns the MAC.

$mac->len

Returns the length of the MAC (eg. 20 for HMAC_SHA1).

$mac->key_len( $len )

Given $len sets the key length of $mac to $len. This should be called before the init method, because init uses this value to take a substring of the provided key value.

Most of the time this should just be set to the MAC length (the len method); certain SSH implementations have a bug, however, wherein they always use only the first 16 bytes of the provided key.

$mac->enable

Enables the MAC object. This is used by Net::SSH::Perl::Kex to 'turn on' the MAC after key negotiation.

$mac->enabled

Tests the enabled flag (set with the enable method). This is used by Net::SSH::Perl::Packet to determine whether or not to compute a MAC on an outgoing packet.

For

Please see the Net::SSH::Perl manpage for author, copyright, and license information.

Perl For Mac

hmac-sha2-256 and hmac-sha2-512 support added by: Lance Kinley E<lkinley@loyaltymethods.com>

Copyright (c) 2015 Loyalty Methods, Inc.

Php For Macintosh

1 POD Error

The following errors were encountered while parsing the POD:

Around line 182:

Unknown E content in E<lkinley@loyaltymethods.com>

To install Net::SSH::Perl::Mac, copy and paste the appropriate command in to your terminal.

Perl

Cpan Install Module

For more information on module installation, please visit the detailed CPAN module installation guide.