Appendix A. Command-Line Options
--Stops processing options.
-0[ octnum ](That’s the number zero.) Designates an initial octal value for the record separator
$/.See also-lon the following page.-aTurns on autosplit mode when used with
-nor-p.Splits to@F.-cChecks syntax but does not execute. It does, however, run BEGIN, CHECK, and UNITCHECK blocks.
-C[ number / list ]Controls some of the Perl Unicode features.
-d[ t ] [:module ] [=arg [,arg... ] ]Runs the script under the indicated module. With
-dtenable threads. Default module is the Perl debugger. Use-de 0to start the debugger without a script.-DflagsSets debugging flags.
-ecommandlineMay be used to enter a single line of script. Multiple
-ecommands build up a multiline script.-ESame as
-e,but implicitly enables all optional features. See the section Pragmatic Modules.-FpatSpecifies a pattern on which to split if
-ais in effect.-hPrints the Perl usage summary. Does not execute.
-i[ ext ]Activates in-place editing for files processed by the
< >construct.-IdirThe directory is prepended to the search path for Perl modules,
@INC.-l[ octnum ](That’s the letter el.) Enables automatic line ending processing, e.g.,
-l013.-m[-]module [=arg [,arg... ] ]-M[-]module [=arg [,arg... ] ]Does a use module before executing the script.
With
-does a no module instead.Without arguments,
-Mimports the default set and-mimports nothing.Otherwise, the arguments are passed to the module’s import method.
-nAssumes an input loop ...