Perl Programming/Keywords/ LINE

Previous: __FILE__ Keywords Next: __PACKAGE__

The __LINE__ keyword

__LINE__ is a special token that returns the current line number.

Syntax

  __LINE__
Previous: __FILE__ Keywords Next: __PACKAGE__
Category:Book:Perl Programming#Keywords/%20LINE%20
Category:Book:Perl Programming