|
|
| XP is just a number | |
| PerlMonks |
Re^5: importing functions with "PerlModule" Apache directiveby tobyink (Monsignor) |
| on May 09, 2012 at 14:03 UTC ( #969629=note: print w/ replies, xml ) | Need Help?? |
|
You're not using strict, so of course local our $p=Vars will work. It's just an assignment of a string to a package variable. Compare:
versus:
Also of interest:
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||