Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: caller() returns wrong line on multi-line function call

by GrandFather (Saint)
on Sep 14, 2017 at 22:10 UTC ( [id://1199423]=note: print w/replies, xml ) Need Help??


in reply to Re^3: caller() returns wrong line on multi-line function call
in thread caller() returns wrong line on multi-line function call

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1199423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found