Created
September 15, 2013 09:02
-
-
Save hoelzro/6569041 to your computer and use it in GitHub Desktop.
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
sub my-sub() { | |
my $indent := ($*TOP ?? 0 !! 1); | |
my $*TOP := 0; | |
ok($indent == 0); | |
} | |
my $*TOP := 1; | |
plan(1); | |
my-sub(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment