Also see perldata about __LINE__, and possibly caller, should you want to put your logging code into a subroutine.
In reply to Re: How to determine current line executing in Script
by Corion
in thread How to determine current line executing in Script
by bearslumber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |