411 REFERENCE · Wikibooks
Perl Programming/Keywords/ LINE
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Perl __FILE__ __PACKAGE__ Keywords
The __LINE__ keyword
__LINE__ is a special token that returns the current line number.
Syntax
__LINE__
Perl __FILE__ __PACKAGE__ Keywords
</noinclude>