Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Corion (Pope)
on Sep 13, 2000 at 22:47 UTC ( #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
Node Status?
node history
Node Type: note [id://32316]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2020-11-27 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?