What about this, before parsing options using Getopt::Long, assuming the values will never have an ending ':' (untested):
@ARGV = map { s/^(.*):$/--$1/ if /:$/; $_ } @ARGV;
Igor 'izut' Sutton
your code, your rules.
In reply to Re: Command Line Options without "-" or "- -"
by izut
in thread Command Line Options without "-" or "- -"
by Smaug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |