Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by kyle (Abbot)
on Feb 02, 2009 at 16:40 UTC ( #740739=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use B;
    
    ...
    some_sub: 25
    some_other_sub: 102
    Got to here at 'bin/some_file.pl' line 24.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-09-20 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls