mikemxyzzy has asked for the wisdom of the Perl Monks concerning the following question:

I installed Parse::Lex and it seems like Template.pm has had "use strict" stuck in the top, without a trailing ";". The module does not compile with "use strict" . Has anyone else noticed this? I noticed that it is not in the Activestate ppm library and am thinking that this is probably why. The question is:

Was "use strict" added in error, or should the module actually compile with "use strict"?

Everything seems fine with "use strict" commented out, or adding "my $expr;" at the top of the file.

From CPAN it looks like it has been this way since 1999. I can't believe I'm the first person to use it since then.

Replies are listed 'Best First'.
Re: Parse::Lex v2.15 use strict
by esskar (Deacon) on Mar 01, 2004 at 17:43 UTC
    maybe this is an idea to work it out:
    use strict; { no strict; require Parse::Template; }
Re: Parse::Lex v2.15 use strict
by esskar (Deacon) on Mar 01, 2004 at 17:29 UTC
    well... it really looks like it...
    try to notify the author...