in reply to Re: standard perl routine
in thread standard perl routine
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: standard perl routine
by BrowserUk (Patriarch) on Apr 30, 2006 at 08:01 UTC | |
by davido (Cardinal) on Apr 30, 2006 at 08:03 UTC |