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?

Originally posted as a Categorized Question.

  • Comment on How do I add multipule -x as input to a script