in reply to Re: Re: Complex dispatch table
in thread Complex dispatch table

so I guess Getopt wouldnt help much (unless I can use that internally as well?)
Untested code ahead (must take daughter to school):
use Text::ParseWords; use GetOpt::Std; @ARGV = shellwords($textin); my $cmd = shift @ARGV; my %opts; getopts('oif:', \%opts);