in reply to Unicode source code problem in 5.6.1

Here's a twist. Under perl 5.8.0, compiled for cygwin, your program works fine if and only if use strict; is present.

On the other hand, if use strict is commented out, I get this bizarre error:

"my" variable $strict::VERSION can't be in a package at lib/strict.pm +line 93, near "$strict::VERSION " Compilation failed in require at lib/utf8_heavy.pl line 2. BEGIN failed--compilation aborted at lib/utf8_heavy.pl line 2. Compilation failed in require at lib/utf8.pm line 17.

Replies are listed 'Best First'.
Re: Re: Unicode source code problem in 5.6.1
by John M. Dlugosz (Monsignor) on Nov 18, 2002 at 20:25 UTC
    So the polarity reversed in the newer one: it works with strict but fails if not strict? My code was the exact opposite. But the reason for yours is even more bizzare. I suppose they only tested it with strict enabled?
Re: Re: Unicode source code problem in 5.6.1
by John M. Dlugosz (Monsignor) on Nov 19, 2002 at 15:16 UTC
    I'm told this has been fixed in patch 17928.