Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Algorithm To Select Lines Based On Attributes

by hbm (Hermit)
on Jan 15, 2009 at 17:36 UTC ( [id://736605]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $rule ( keys %$rulelist ){
    
  2. or download this
       if ( defined $rulelist->{$rulenum}->{REGION} ){
          my $rule = $rulelist->{$rulenum}->{REGION};
    ...
          }
          elsif ( $line -> {REGIONID} != $rule)  { next RULE };
          ...
    
  3. or download this
       if ( defined (my $rule = $rulelist->{$rulenum}->{REGION} )){
          next RULE if ( $rule =~ s/!// && $line->{REGIONID} == $rule);
          next RULE if ( $line->{REGIONID} != $rule);
          ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-28 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found