Perl Programming/Keywords/ FILE

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Previous: __END__ Keywords Next: __LINE__

The __LINE__ keyword[edit | edit source]

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

Syntax[edit | edit source]

  __FILE__
Previous: __END__ Keywords Next: __LINE__