Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: /o is dead, long live qr//!

by japhy (Canon)
on Jun 25, 2003 at 23:43 UTC ( #269055=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<>) {
      for my $p (qr/a+b/, qr/c+d/, qr/e+f/) { foo() if /$p/ }
    ...
    while (<>) {
      for my $s ('a+b', 'c+d', 'e+f') { foo() if /$s/ }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-09-17 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (61 votes), past polls