![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Mini-Tutorial: Dereferencing Syntaxby tobyink (Canon) |
on Jun 20, 2012 at 19:50 UTC ( #977462=note: print w/replies, xml ) | Need Help?? |
It's also worth noting that the following are two completely different things.
The first one is basically a shorthand for:
The second one is:
... where $; is the subscript separator, which defaults to \034.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Meditations
|
|