Dizzley has asked for the wisdom of the Perl Monks concerning the following question:
myscript.pl:
displays:use strict; use Getopt::Std; our $opt_v; print join(':',@ARGV), "\n"; getopt('v');
~Diz$ myscript.pl -v < data.txt -v opt_v =
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getopt::Std and simple options
by sk (Curate) on Sep 06, 2005 at 05:26 UTC | |
by Dizzley (Novice) on Sep 06, 2005 at 05:39 UTC | |
by graff (Chancellor) on Sep 07, 2005 at 02:17 UTC | |
|
Re: Getopt::Std and simple options
by pg (Canon) on Sep 06, 2005 at 05:12 UTC | |
by Dizzley (Novice) on Sep 06, 2005 at 05:44 UTC |