On Sun, Feb 6, 2011 at 6:01 PM, Shlomi Fish wrote: > > Actually, "use 5.012;" adds "use strict;" by default
After reading your reply I went to look at the 5.12.2 documentation: http://perldoc.perl.org/functions/use.html Of course it is written there but I completely missed it previously: >>>>>>>>>>>>> Similarly, if the specified Perl version is greater than or equal to 5.11.0, strictures are enabled lexically as with use strict (except that the strict.pm file is not actually loaded). <<<<<<<<<<<<< Thanks for the clarification Shlomi :) Micky, although I agree with Shlomi it is best to use "use strict;", if it's too much hassle to have this on in your existing code you could try "no strict;" after the "use 5.012;" line. Regards, Offer _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
