Created
October 2, 2014 02:40
-
-
Save preaction/9e33650932b56b30437f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Explicitly disabling before use VERSION works as described | |
» perl -e'no strict "vars"; use 5.012; $foo' | |
# Explicitly enabling only part of strict before use VERSION does not stop the other stricts from being applied | |
» perl -e'use strict "subs"; use 5.012; $foo' | |
Global symbol "$foo" requires explicit package name at -e line 1. | |
Execution of -e aborted due to compilation errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment