in reply to Re: How can I have both short and long options with Getopt::Long?
in thread How can I have both short and long options with Getopt::Long?

--v still fails to fail  (as requested, "if there are two dashes then only the full 'verbose' should be accepted") — as with the other variants already suggested.

  • Comment on Re^2: How can I have both short and long options with Getopt::Long?
  • Download Code

Replies are listed 'Best First'.
Re^3: How can I have both short and long options with Getopt::Long?
by ikegami (Patriarch) on Nov 12, 2009 at 16:45 UTC
    Missed that. There's no way around it because Getopt::Long has no way of knowing "v" shouldn't be considered a full option name. Honestly, that shouldn't be an issue.