in reply to Re^4: Line numbers
in thread Line numbers
That there exists an explanation does not imply that the explanation is obvious.
I understand that light may act as a wave or particle depending on how you study it. However, this fact is not obvious. It is in fact incredibly non-obvious, which is how it took science so long to get there.
That [caller(0)]->[0] works is (at least to me) obvious. That (caller(0))[0] works and caller(0)[0] fails is (again, to me) non-obvious.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Line numbers
by chromatic (Archbishop) on Mar 17, 2012 at 00:42 UTC | |
Re^6: Line numbers
by Anonymous Monk on Mar 17, 2012 at 00:39 UTC | |
by LanX (Saint) on Mar 17, 2012 at 01:57 UTC |
In Section
Seekers of Perl Wisdom