Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl debug. How do I find calling line number?

by ambrus (Abbot)
on Sep 26, 2004 at 11:49 UTC ( [id://393926]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    255[am]king ~/a$ cat a
    print "Hello\n";
    ...
       };
    }
    
  2. or download this
    [am]king ~/a$ perl a
    Hello
    Middle
    Died at a line 10.
    
  3. or download this
    255[am]king ~/a$ perl -wd a
    
    ...
     at a line 10
            main::a(1) called at a line 4
    255[am]king ~/a$
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-24 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found