Special Arrays
The alternative names are provided by the standard module English.
@_Alternative:
@ARG.Parameter array for subroutines. Also used by split if not in list context.
@-Alternative:
@LAST_MATCH_START.After a successful pattern match, contains the offsets of the beginnings of the successful submatches.
$-[0]is the offset of the entire match.@+Alternative:
@LAST_MATCH_END.Like
@-, but the offsets point to the ends of the submatches.$+[0]is the offset of the end of the entire match.@ARGVContains the command-line arguments for the script (not including the command name, which is in
$0).@EXPORTNames the methods and other symbols a package exports by default. Used by the
Exportermodule.@EXPORT_OKNames the methods and other symbols a package can export upon request. Used by the
Exportermodule.@FWhen command-line option
-ais used, contains the split of the input lines.@INCContains the list of places to look for Perl scripts to be evaluated by the do filename, use and require commands.
Do not modify
@INCdirectly, but use thelibpragma or-Icommand-line option instead.@ISAList of base classes of a package.
perlvar.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access