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

Re^3: Reconcile one list against another

by wind (Priest)
on May 04, 2011 at 18:59 UTC ( [id://902975]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Reconcile one list against another
in thread Reconcile one list against another

That is true, my code was just meant to solve is state variable quandary.

Without thinking too deeply about it, your noted problem might be solved by simply adding some word boundaries:

if (my @matched = grep {$line =~ /\b\Q$_\E\b/i} @users) {

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-25 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found