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.