rocketboy has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I am a novice perl user. I ahve installed Active perl. Now I want to make use of the pow function which is actually present in d:\perl\lib\posix.pm as well as d:\perl\lib\auto\POSIX\pow.al where d:\perl is my installation directory.
now i write a single one line statement in 1.pl
$b = pow(2,3).on execution of 1.pl it says "Undefined subroutine &main::pow called at 1.pl line 1."
now what should i do to access the pow subroutine. my @INC array shows that d:\perl\lib as well as d:\perl\site\lib is being used. can someone suggest a method to access all the subroutines that comes with the standard lib provided by activeperl i.e all subroutines found in the d:\perl\lib.
thank you
Edited by planetscape - added code tags and rudimentary formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: standard perl routine
by davido (Cardinal) on Apr 30, 2006 at 07:21 UTC | |
by rocketboy (Novice) on Apr 30, 2006 at 08:33 UTC | |
by CountZero (Bishop) on Apr 30, 2006 at 09:20 UTC | |
by g0n (Priest) on Apr 30, 2006 at 09:44 UTC | |
|
Re: standard perl routine
by Cody Pendant (Prior) on Apr 30, 2006 at 07:59 UTC | |
|
Re: standard perl routine
by BrowserUk (Patriarch) on Apr 30, 2006 at 07:29 UTC | |
by davido (Cardinal) on Apr 30, 2006 at 07:38 UTC | |
by BrowserUk (Patriarch) on Apr 30, 2006 at 08:01 UTC | |
by davido (Cardinal) on Apr 30, 2006 at 08:03 UTC | |
|
Re: standard perl routine
by swampyankee (Parson) on Apr 30, 2006 at 15:31 UTC |