for (@ARGV){ if(*{$_}{CODE}){ &{*{$_}}; } else { print STDERR "Dont know about $_\n"; } }
Goldclaw
In reply to Re: Re3: Best way to handle 'commands'
by goldclaw
in thread Best way to handle 'commands'
by Preceptor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |