Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Best approach to creating a regex from a filehandle

by toolic (Bishop)
on May 18, 2014 at 22:15 UTC ( [id://1086561]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best approach to creating a regex from a filehandle
in thread Best approach to creating a regex from a filehandle

You're right... it can be simplified using a single map
my $blacklist_regex = join "|" => map { chomp; "(?:$_)"} <BLIST>;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found