|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: New student, can we write this program in perl...by tobyink (Prior) |
| on Oct 19, 2012 at 21:00 UTC ( #1000049=note: print w/ replies, xml ) | Need Help?? |
|
There was recently a thread on the odd/even topic here: Subroutine Even/Odd.
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
|
|
||||||||||||||||||||