Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2018-08-16 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (166 votes). Check out past polls.

    Notices?