Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Getting file and line number where a subroutine is declared

by ikegami (Pope)
on Feb 02, 2009 at 17:47 UTC ( #740760=note: print w/replies, xml ) Need Help??


in reply to Re^2: Getting file and line number where a subroutine is declared
in thread Getting file and line number where a subroutine is declared

They won't work if the code is declared after I try to inspect it

You seem to be confusing function declaration and function definition. You are getting is the line number of the declaration. What you want to line number of the definition.

  • Comment on Re^3: Getting file and line number where a subroutine is declared

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740760]
help
Chatterbox?
[Discipulus]: congrats choroba!
Discipulus shutdown and logoff seem untrappable by Perl on win. But it is in Cygwin. but i cannot switch to it
[choroba]: It has the widest rear seats space available in the same price category - needed for the 3 kids.
Discipulus families growth is related to price of cars nowadays..

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-01-17 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (154 votes). Check out past polls.