I am using the Getopt::Long
module to process command line arguments.
The typical behavior of this module is we could pass -f
instead of full name of the variable --file
. At the same time if I have another command line variable --find
, and if I supply only -f
at the command prompt, it would return with an error:
Option f is ambiguous (file, find).
I was wondering how can we curb such ambiguous usage?
Thanks in advance.