Parameters (Perl)

From ben.goodacre.name/tech

Jump to: navigation, search

The @ARGV array stores parameters.

Display the 2nd parameter:
$ARGV[1]
Display the number of parameters passed:
@ARGV
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox