Global Special Constants
_ _END_ _
Indicates the logical end of your program. Any following text is ignored, but may be read via the
DATA
filehandle._ _FILE_ _
Represents the filename at the point in your program where it’s used. Not interpolated into strings.
_ _LINE_ _
Represents the current line number. Not interpolated into strings.
_ _PACKAGE_ _
Represents the current package name at compile time, or undefined if there is no current package. Not interpolated into strings.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.