It does have __LINE__, which evaluates to the number of the line that token resides on. For example:
print __LINE__, "\n"; print __LINE__, "\n"; my $number = __LINE__; print $number, "\n";
And the output is:
1 2 3
Dave
In reply to Re: Predefined Variable
by davido
in thread Predefined Variable
by Joe_Cullity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |