Pathologically Eclectic Rubbish Lister | |
PerlMonks |
passing multipule -v to a scriptby gkramm (Initiate) |
on Jul 29, 2002 at 22:24 UTC ( [id://186093]=perlquestion: print w/replies, xml ) | Need Help?? |
gkramm has asked for the wisdom of the Perl Monks concerning the following question:
I would like to be able to pass multipule -v as input to a script using getopts. Such that ./script.pl -v gives $opt_v a value of 1 and ./script.pl -v -v gives $opt_v a value of 2, and so on. Is this possible? Should I even be using getops?
Back to
Seekers of Perl Wisdom
|
|