If I understand the docs correctly, POSIX automatically exports pretty much everything except for subroutine names that conflict with Perl built-ins. If you wish to protect your namespace, the easiest way to override this unfortunate behavior is to invoke POSIX like this:
use POSIX (); # Import nothing. print POSIX::pow( 2, 3 ); # Use the fully-qualified name.
Dave
In reply to Re^2: standard perl routine
by davido
in thread standard perl routine
by rocketboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |