Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 chanting in the Monastery: (6)
As of 2015-07-04 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls