Mega Code Archive
Categories
/
Perl
/
Language Basics
You display the current line of execution in a Perl script by referring to it with the __LINE__ token
print __LINE__;