in reply to foreach loop mistake with key as regexp

Works for me too. (Perl 5.8 on WinXP)

Can you let us know what version of Perl and which OS you're running on (just in case).

Also, can you post the rest of the text that comes with the error, as that might indicate where "HERE" actually is.

--
.sig : File not found.

  • Comment on Re: Regexp swapping with unmatched brackets