in reply to Re: Command Line Options without "-" or "- -"
in thread Command Line Options without "-" or "- -"
You missed matching against "$option_line" ...$option_line = join ' ', @ARGV; #reconstitute my @pairs = m/(\w+:\s+\w+)/g; # grab option pairs
my @pairs = ( $option_line =~ m/(\w+:\s+\w+)/g );
|
|---|