It works if I useUse Getopt::Long; Getopt::Long::Configure ("bundling"); if (!GetOptions( 'U:s' => \$upd, 'mod' => \$mod, 'res' => \$res, 'h' => \$help )) { usage(); exit(1); } if ($help) { usage(); exit(1); }
prog.pl -h
prog.pl
In reply to GetOptions and help by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |