in reply to
Line Numbers
__LINE__ is a global symbol that represents the current line number of the script. This isn't
exactly
what you're looking for, but it should help you out none the less.
print __LINE__, " some stuff with a line number\n";
[download]
you might also want to check out the function "caller", it can give you the line number from which the current subroutine was called
/\/\averick
Comment on
Re: Line Numbers
Download
Code
In Section
Seekers of Perl Wisdom