|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^2: Autoboxing by subclassing COREby tobyink (Monsignor) |
| on Jun 21, 2012 at 00:57 UTC ( #977527=note: print w/ replies, xml ) | Need Help?? |
|
I'm using 5.16. perl5160delta notes various improvements to the CORE and CORE::GLOBAL namespaces. Perhaps in earlier Perls CORE::substr doesn't work, but some other interesting CORE functions are likely to work.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Obfuscated Code
|
|
||||||||||||||||||||