in reply to Re^9: how to deal with 20 commands
in thread how to deal with 20 commands

Sure.

In Perl 6, That would probably be spelled:

sub GetOptions(?@args = @*ARGS is rw) { ... } This is so easy to do (it isn't that much harder in Perl 5!), it's a pity it wasn't done already.