|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Cancel/no-op a requireby tobyink (Prior) |
| on Dec 07, 2012 at 13:35 UTC ( #1007735=note: print w/ replies, xml ) | Need Help?? |
|
Also, if you really want to use a hook in @INC, this is how they work...
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
|
|
||||||||||||||||||||||||