in reply to Too late for -Mstrict

From perldoc perldiag ...

Too late for "-%s" option
(X) The #! line (or local equivalent) in a Perl script contains the -M or -m option. This is an error because -M and -m options are not intended for use inside scripts. Use the "use" pragma instead.

    --k.


Replies are listed 'Best First'.
Re: Re: Too late for
by belg4mit (Prior) on Jan 10, 2002 at 14:54 UTC
    Well yes, but there's no inherent reason why it shouldn't work unlike -T. Apparently I have reports iof it working on 5.005.03 and 5.6.1, whereas I am using 5.6.0 (should have noted that in the original post).

    UPDATE: There was a bit of confusion with whom I spake, it does not work with neither 5.005.03 nor 5.6.1. IMHO it still ought to though ;-)

    --
    perl -pe "s/\b;([st])/'\1/mg"