And I have a question to contribute:
Is there a way to tell on what line your sub was called from? So that I could include the current line number in the sub:
I've been inactively looking for this for a while, almost to the point that I'm going to have to start looking for real =)sub mydebug { $msg = shift; print STDERR 'Line '. $linethatcalledme .": $msg\n"; }
--Glenn
In reply to Re: Re: debugging /logging help
by gharris
in thread debugging /logging help
by boo_radley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |