Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: RegEx Matching, Loop Breaking...

by toolic (Bishop)
on May 28, 2013 at 17:30 UTC ( #1035660=note: print w/replies, xml ) Need Help??


in reply to RegEx Matching, Loop Breaking...

Tip #3 from the Basic debugging checklist: chomp?

while (my $domainline = <DOMAINS>) { chomp $domainline; $cleanedDomain = quotemeta $domainline;

Replies are listed 'Best First'.
Re^2: RegEx Matching, Loop Breaking...
by rardoe (Initiate) on May 28, 2013 at 17:49 UTC
    chomp doesn't change anything, i've tried it with and without.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035660]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2018-02-22 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (291 votes). Check out past polls.

    Notices?