Perl Programming/Keywords/ FILE

Previous: __END__ Keywords Next: __LINE__

The __LINE__ keyword

edit

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

Syntax

edit
  __FILE__
Previous: __END__ Keywords Next: __LINE__