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.