There's more than one way to do things | |
PerlMonks |
Re: How to determine current line executing in Scriptby Corion (Patriarch) |
on Dec 04, 2008 at 12:14 UTC ( [id://727947]=note: print w/replies, xml ) | Need Help?? |
Also see perldata about __LINE__, and possibly caller, should you want to put your logging code into a subroutine.
In Section
Seekers of Perl Wisdom
|
|