in reply to Re: Re: simpliest way to add "language" to my app
in thread simpliest way to add "language" to my app
Pass raw data to parsing sub
Well, he said the simplest way...
If match not found, give user a list of currently supported commands
Now, that would certainly be a worthwhile enhancement. And easy enough to do, too.
Force lower case
I almost included that... but for some reason I didn't. Perhaps I should have.
Allow synonyms such as halt for shutdown
That may be the best argument for the named subs you mention, actually.
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: simpliest way to add "language" to my app
by smackdab (Pilgrim) on Oct 05, 2003 at 04:38 UTC |