Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 about the Monastery: (15)
As of 2014-08-22 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls