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

Re^3: Match Numeric Range

by Your Mother (Archbishop)
on Aug 18, 2015 at 14:14 UTC ( [id://1139016]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( $range > 500 )
    {
        WAT_OP();
    ...
    {
        complete_tree_op();
    }
    
  2. or download this
    my @action_tree = ( { test => sub { $_[0] >= 300 && $_[0] <= 400 },
                          action => sub { print "GUDNITES\n"; CORE::exit(0
    +) } },
                        { test => sub { $_[0] >= 425 && $_[0] <= 500 },
    ...
    {
        $_->{test}->($signal) && $_->{action}->() for @action_tree;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-18 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found