Perl Programming/Keywords/ FILE

Previous: __END__ Keywords Next: __LINE__

The __LINE__ keyword

__FILE__ is a special token that returns the name of the file where it occurs.

Syntax

  __FILE__
Previous: __END__ Keywords Next: __LINE__
Category:Book:Perl Programming#Keywords/%20FILE%20
Category:Book:Perl Programming