POSIX::1003::Properties - POSIX access to _POSIX_ constants
POSIX::1003::Properties is a POSIX::1003
use POSIX::1003::Properties; # import all use POSIX::1003::Properties 'property'; $hasnt = property('_POSIX_NO_TRUNC'); use POSIX::1003::Properties '_POSIX_NO_TRUNC'; $hasnt = _POSIX_NO_TRUNC; use POSIX::1003::Properties '%property'; my $key = $property{_POSIX_NO_TRUNC}; $property{_POSIX_NEW} = $value; foreach my $prop (property_names) ...
When you compile C/C++ programs, the header files provide you with a long list of _POSIX constants. This module pass these values on to Perl.
_POSIX
See "METHODS" in POSIX::1003
There is no system call to retrieve these values: they are defined in the C sources only.
Returns the property value related to NAME.
Returns a list with all known names, unsorted.
This exported variable is a tie HASH which contains the values related to the system property names.
The following constants where detected on your system when the module got installed. The second column shows the value which where returned at that time.
If you install the module, the table will be filled-in here
This module is part of POSIX-1003 distribution version 0.11, built on January 04, 2012. Website: http://perl.overmeer.net. The code is based on POSIX, which is released with Perl itself.
Copyrights of the perl code and the related documentation by 2011-2012 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
To install POSIX::1003, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POSIX::1003
CPAN shell
perl -MCPAN -e shell install POSIX::1003
For more information on module installation, please visit the detailed CPAN module installation guide.