No such thing as a small change | |
PerlMonks |
Re: Line Numbersby hey_david (Sexton) |
on Oct 17, 2003 at 21:26 UTC ( [id://300173]=note: print w/replies, xml ) | Need Help?? |
Alternatively, if you're logging within a separate function (or even module), you can get both the filename and the line number of the caller, with:
In Section
Seekers of Perl Wisdom
|
|