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?
[Discipulus]: see you monks! flying to greece!
[Corion]: Oh, cool! Have fun Discipulus!

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2018-06-25 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (128 votes). Check out past polls.

    Notices?