in reply to Re: debugging /logging help
in thread debugging /logging help
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: debugging /logging help
by chipmunk (Parson) on Dec 07, 2000 at 21:40 UTC | |
by gharris (Beadle) on Dec 07, 2000 at 22:03 UTC |