Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: input switch

by larryk (Friar)
on Sep 06, 2002 at 14:30 UTC ( #195649=note: print w/replies, xml ) Need Help??


in reply to input switch

You could use Switch:
use Switch; switch ($CGI->param('action')) { case 'delayed_inv' { $to_do->delayedinv() } case 'del_inv' { $to_do->del_inv() } case 'payed' { $to_do->payed() } ... else { $to_do->defscreen() } }
   larryk                                          
perl -le "s,,reverse killer,e,y,rifle,lycra,,print"

Replies are listed 'Best First'.
Re^2: input switch
by Aristotle (Chancellor) on Sep 07, 2002 at 00:25 UTC
    The problem with that module is that it's a source filter and easily malfunctions. For any than the simplest scripts, it won't work.

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://195649]
help
Chatterbox?
shmem puts a big cauldron of "silly con charme" on the table in the refectorium
[shmem]: mahlzeitTM

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-04-27 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (503 votes). Check out past polls.