Do you know where your variables are? | |
PerlMonks |
Re^4: caller() returns wrong line on multi-line function callby GrandFather (Saint) |
on Sep 14, 2017 at 22:10 UTC ( [id://1199423]=note: print w/replies, xml ) | Need Help?? |
the one true line is by definition where a statement starts. How can that possibly be right? By definition you don't have a call until the close bracket for the argument list because you don't have enough information to make the call until then! Like I said already, good stories could be made for almost any line. :-)
Premature optimization is the root of all job security
In Section
Seekers of Perl Wisdom
|
|