in reply to Reading command line flags into variables...?
./new_user.pl -n Bob -l Smithuse strict; use warnings; use Getopt::Std; use vars qw($opt_n $opt_l); getopts("n:l:"); print "Option -n: $opt_n \n"; print "Option -l: $opt_l \n"; __END__
Option -n: Bob Option -l: Smith
----
Coyote
|
|---|