Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-07-25 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (227 votes). Check out past polls.