ARGV in Perl represents the command-line arguments.
文章推薦指數: 80 %
Related examples in the same category ; 16. ARGV and the Null Filehandle ; 17. Aliases and Values ; 18. Alternative names for Perl system variables. ; 19. Assign ...
HomePerlArrayCGIClassDataTypeDatabaseFileGUIHashLanguageBasicsNetworkRegularExpressionReportStatementStringSubroutineSystemFunctionsWin32XMLARGVinPerlrepresentsthecommand-linearguments.:SpecialVariables « LanguageBasics « PerlPerlLanguageBasicsSpecialVariablesARGVinPerlrepresentsthecommand-linearguments.
#
延伸文章資訊
- 1Perl Command Line Arguments | argv - Javatpoint
Command line arguments are sent to a Perl program in the same way as in any other language. The @...
- 2Establishing a Default Value - Perl Cookbook [Book] - O'Reilly
If 0 or "0" are valid values for your variables, use defined instead: ... If 0 is a valid value f...
- 3PERL -- Options
If there are no digits, the null character is the separator. ... If -e is given, perl will not lo...
- 4Perl the swiss knife · Command Line Text Processing
passing argument to -l to set output record separator. $ seq 8 | perl -ne 'print if /[24]/' 2 4 $...
- 5perl + identify if param is empty value from ARG - Stack Overflow
How to identify if $param is a null value or empty value, same as [ -z from ksh? #!/usr/bin/perl ...