in reply to Bug in 'strict'??

Jouke,
Beware of using $CGI::LS as it can bite you pretty badly. I was trying to reproduce your problem on my machine (Win2K), but it failed miserabily on compilation because of a missing parens in the regex. After checking the regex, I realized that $CGI::LS was equal to '\' in Win32 systems, and thus the regex was interpolated like that m/(.*?\)*(.*)(?=$)/, which is obviously a Bad Thing™.

It doesn't have much to do with your use strict problem, but I thought you'd like to know!

<kbd>--
my $OeufMayo = new PerlMonger::Paris({http => 'paris.mongueurs.net'});</kbd>

Edit 2001-03-05 by tye to close <code>

Replies are listed 'Best First'.
(tye)Re: Bug in 'strict'??
by tye (Sage) on Apr 05, 2001 at 19:04 UTC

    Time to repeat my lastest rant: If you put a variable inside of a regex because you want to match that variable as a string (which is usually what you want to do), then you need to tell the regex that: /\Q$CGI::SL\E/

            - tye (but my friends call me "Tye")