in reply to 'switch' and 'smartmatch' features deprecated in 5.38
This is a little more concise, I guess:
$opts{h} and HELP_MESSAGE(); $opts{v} and ++$verbose; $opts{f} and ++$force; $opts{t} and $table = $opts{t}; die "*** BUG: no handler for -$_.\n" for grep !/^[hvft]$/, keys %opts;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: 'switch' and 'smartmatch' features deprecated in 5.38
by GrandFather (Saint) on Jun 26, 2023 at 23:29 UTC | |
by swl (Prior) on Jun 27, 2023 at 02:56 UTC | |
by tobyink (Canon) on Jun 27, 2023 at 06:42 UTC | |
Re^2: 'switch' and 'smartmatch' features deprecated in 5.38
by ibm1620 (Hermit) on Jun 28, 2023 at 01:45 UTC | |
by swl (Prior) on Jun 28, 2023 at 01:53 UTC | |
by ibm1620 (Hermit) on Jun 28, 2023 at 18:59 UTC | |
Re^2: 'switch' and 'smartmatch' features deprecated in 5.38
by ibm1620 (Hermit) on Jun 26, 2023 at 13:38 UTC |