Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: regex "o" modifier

by nite_man (Deacon)
on May 07, 2003 at 07:24 UTC ( [id://256138]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $day_week( qw(Mon Tue Wed Thu Fri Sat Sun) ) {
        my $regexp = "^$day_week"; 
    ...
                  if($day =~ m/$regexp/o) { # do somthing }           
               }';    
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-16 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found