in reply to multiline in while loop and regular expression

I see no strict nor warnings. I do see a (single) double quote in Ln 1, about which perl -c yourscript.pl would have complained and which might have prompted strict or warnings to toss out some admonitions. I assume the missing quote before the file name is a typo introduced while posting.

If you're going to post code (and you should!) cut'n'paste is your best bet.



check Ln42!