On Aug 6, 2013, at 12:09 AM, Peter Gordon wrote:

> I'm confused by this documentation.
> http://perldoc.perl.org/functions/use.html
> Does it mean that:
> use 5.12.0;
> automatically turns on "use strict;" ?

It's pretty easy to find out:

50% echo '$x = 1;' | perl

51% echo 'use 5.12.0; $x = 1;' | perl
Global symbol "$x" requires explicit package name at - line 1.
Execution of - aborted due to compilation errors.

52% perl -v

This is perl 5, version 12, subversion 3 (v5.12.3) built for 
darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to