Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: To Pattern Match or not to Pattern Match

by Roy Johnson (Monsignor)
on Mar 03, 2005 at 23:57 UTC ( [id://436415]=note: print w/replies, xml ) Need Help??


in reply to To Pattern Match or not to Pattern Match

Your first attempt at matching doesn't include the surrounding //s for your pattern. Not sure if that's what's troubling you.

Incidentally, the more perlesque way to write your for loop is

for my $user_id (@cdwv_list) {

Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

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

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

    No recent polls found