Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Help with my regex

by cspctec (Sexton)
on Jul 31, 2013 at 20:29 UTC ( #1047309=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Controller Status:          Optimal
    NCQ status:                 Enabled
    ...
    
    Power State:                RPM
    Supported Power State:      RPM, Powered off
    
  2. or download this
    my $match = 'status|power';
    foreach (@data) {
    ...
        print $_;
      }
    }
    
  3. or download this
    my $match = '[^ncq]status|[^supported]power';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1047309]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-12-19 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (69 votes), past polls