Plankton has asked for the wisdom of the Perl Monks concerning the following question:
Friends,
I was just wondering if there is a Perl equivalent to C's __FILE__ and __LINE__ ... you know so I could put annoying
Thanks
I was just wondering if there is a Perl equivalent to C's __FILE__ and __LINE__ ... you know so I could put annoying
statements everywhere.print "$__FILE__:$__LINE__ stupid debug message!\n";
Thanks
Plankton: 1% Evil, 99% Hot Gas. |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: __FILE__ and __LINE__ for Perl?
by runrig (Abbot) on Oct 02, 2003 at 17:56 UTC | |
Re: __FILE__ and __LINE__ for Perl?
by dws (Chancellor) on Oct 02, 2003 at 18:00 UTC | |
by bm (Hermit) on Oct 03, 2003 at 12:02 UTC | |
Re: __FILE__ and __LINE__ for Perl? (caller)
by tye (Sage) on Oct 02, 2003 at 18:14 UTC | |
by drewhead (Beadle) on Oct 02, 2003 at 18:54 UTC | |
by Aristotle (Chancellor) on Oct 02, 2003 at 20:47 UTC | |
Re: __FILE__ and __LINE__ for Perl?
by Zaxo (Archbishop) on Oct 02, 2003 at 19:05 UTC |
Back to
Seekers of Perl Wisdom