Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Perl/Basics/User Input/Command Line"

From NetSec
Jump to: navigation, search
(Getopt::Std)
Line 1: Line 1:
 
Command line arguments are passed at execution time; e.g.  
 
Command line arguments are passed at execution time; e.g.  
 
   perl script.pl -a arg1 -b arg2 ...
 
   perl script.pl -a arg1 -b arg2 ...
====Getopt::Std====
 
This requires Getopt::Std.  The perldoc is [http://perldoc.perl.org/Getopt/Std.html here].
 

Revision as of 03:09, 16 July 2012

Command line arguments are passed at execution time; e.g.

 perl script.pl -a arg1 -b arg2 ...