ActivePerl::PPM::Arch - Get current architecture identification
The following functions are provided:
arch()
Returns the string that PPM use to identify the architecture of the current perl. This is what goes into the NAME attribute of the ARCHITECTURE element of the PPD files; see the ActivePerl::PPM::PPD manpage.
This is $Config{archname} with the perl major version number appended.
short_arch()
This is the shorteded architecture string; dropping the segments for features that will always be enabled for ActivePerl ("thread", "multi", "2level").
Used to form the URL for the PPM CPAN repositories provided by ActiveState.
Convert back from a short arch string to a full one. If the passed arch string is already full it's returned unchanged.
pretty_arch()
Returns a more human readable form of arch()
. Will be a string on the form:
"ActivePerl 5.10 for Windows 64"
the ppm manpage, the ActivePerl::PPM::PPD manpage, the Config manpage