Created
March 24, 2019 13:09
-
-
Save worthmine/d50cc2c1f84ec93e33f7ddf33ca5715a to your computer and use it in GitHub Desktop.
Is this a flaw of 'use warnings;' pragma?
This file contains 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
use feature qw(say); | |
use strict; | |
#use warnings; | |
our $n = 0; | |
for ( local our $n = 0; $n < 10; $n++ ) { | |
say $n; | |
} | |
#0 | |
#1 | |
#2 | |
#3 | |
#4 | |
#5 | |
#6 | |
#7 | |
#8 | |
#9 | |
say $n; | |
#10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment