http://qs321.pair.com?node_id=300165

Sprad has asked for the wisdom of the Perl Monks concerning the following question:

Is it possible to get the line number of the currently running program? I'm doing some logging and it would be useful to include line numbers (and filenames too, if possible) within the log. warn gives both, but I need to fit that info into my own log lines.

---
A fair fight is a sign of poor planning.