in reply to Re: Problems with seemingly simple string matching...
in thread Problems with seemingly simple string matching...

NOW what puzzles me is why chomp didn't work.

ddumperBasic debugging checklist $line and $/

OTOH, $line =~ s/\s+$//; ## trim trailing whitespace

  • Comment on Re^2: Problems with seemingly simple string matching...