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

Re^2: Blocking based on words in a list

by VSarkiss (Monsignor)
on Dec 28, 2005 at 02:28 UTC ( #519476=note: print w/replies, xml ) Need Help??


in reply to Re: Blocking based on words in a list
in thread Blocking based on words in a list

A tangential note regarding the construct you used twice:

chomp for @blocked;
The for is unnecessary. chomp over a list will chomp every element, so you can just say:
chomp @blocked;
to get the same result.

More info at perlfunc.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://519476]
help
Chatterbox?
[Corion]: Discipulus: Nah, I'm thinking of posting more short stuff, but not all of it is fit for blogs.perl.org, more something a bit longer than Twitter but shorter than my usual b.p.o module posts
[Corion]: But Google+ is tedious and I'd like to keep my posts on an open platform instead, which can be followed via RSS

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-05-26 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?