Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 surveying the Monastery: (6)
As of 2015-08-03 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (30 votes), past polls