Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

RE: cursebox v0.9 - switch{} coding style

by Corion (Patriarch)
on Sep 13, 2000 at 22:47 UTC ( [id://32316]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %actions = (
     "n" => \&skip,
    ...
    # ... rest ommited ...
     "\n" => \&goto,
    );
    
  2. or download this
    sub interpretplay {
      if (exists $actions{$char}) {
    ...
        &invalid;
      };
    };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-18 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found