Skip to content

Instantly share code, notes, and snippets.

@churib
Last active December 31, 2015 00:38
Show Gist options
  • Save churib/7908196 to your computer and use it in GitHub Desktop.
Save churib/7908196 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use strict;
use warnings;
for ( 1 .. 2 ) {
my $var = 0 if 0;
$var++; # no warning/error?
print "$var\n";
}
__END__
output:
1
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment