ARGV
[ALL] The special filehandle that iterates over command-line filenames in @ARGV. Usually written as the null filehandle in the angle operator: <>.
$ARGV
[ALL] Contains the name of the current file when reading from the ARGV handle using the <> or readline operators.
@ARGV
[ALL] The array containing the command-line arguments intended for the script. Note that $#ARGV is generally the number of arguments minus one, since $ARGV[0] is the first argument, not the command name; use scalar @ARGV for the number of program arguments. See $0 for the program name.
歡迎光臨 Chinaunix (http://www.72891.cn/) | Powered by Discuz! X3.2 |