Even better than __LINE__ is to write a subroutine that adds this information for you (if using die w/o a trailing newlines isn't quite what you want), in which case you'll want to read up on caller.
- tye
In reply to Re: Predefined Variable (caller)
by tye
in thread Predefined Variable
by Joe_Cullity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |