Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

(no strict) Re: use slack;

by mwp (Hermit)
on Dec 19, 2000 at 11:58 UTC ( [id://47371]=note: print w/replies, xml ) Need Help??


in reply to use slack;

You could cheat and do this:
my $in = $cgi->param('in'); my @actions = qw(this that foo bar zzz); { no strict 'refs'; foreach(@actions) { $_->() if($_ eq $in); } }

But I like chromatic's suggestion better.

'kaboo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://47371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-18 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found