Created
March 23, 2015 16:23
-
-
Save cfedde/2846532d6ad5249dc51c to your computer and use it in GitHub Desktop.
cfedde fails at basic logic.
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 Modern::Perl; | |
my $Skip_re = undef; | |
for my $tn (1234567890, 2223334444, 3838383838 ) { | |
say +(defined $Skip_re && $tn =~ /$Skip_re/ .. $tn =~ /not a tn/)?"yes":"no"; | |
next unless ((defined $Skip_re && $tn =~ /$Skip_re/) .. $tn =~ /not a tn/); | |
say "after next $tn"; | |
} | |
say "after loop"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment