- or download this
(nothing provided)
prefix=-
...
getopt_compat
no_posix_default
no_getopt_compat
- or download this
prefix=-
long_prefix_pattern=--
prefix=-, long_prefix_pattern=--
- or download this
perl5.36 getopt-test-combination.pl > out 2> err
grep '^ok.+input:.+--o' out
- or download this
grep --color=always '^not ok.+input: -o --o.+parsed: [0-9]+.+(long_)?p
+refix' out | head -n 3
not ok 6 - input: -o --o; parsed: 1; conf: ( prefix=- )
not ok 9 - input: -o --o; parsed: 1; conf: ( long_prefix_pattern=-- )
not ok 30 - input: -o --o; parsed: 1; conf: ( prefix=-, long_prefix_pa
+ttern=-- )
...
- or download this
# getopt-test-combination.pl
...
return $option;
}