Hello,
is there a way how to tell getopts to return false, when duplicit parameters appear in @ARGV?
For example running Perl script with: <code> perl myscript.pl --input="input1" --input"input2"
I need it to "scream and shout", when duplicity like this occurs. But I seem not to be able to find any information regarding to this topic.
Any help appreciated, Thanks!
In reply to getopts and duplicit params by cOreey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |