-
-
Save cfedde/9769e628d38c4141e1a5 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
while ( <DATA> ){ | |
if (/start/ .. /end/) { | |
print "flip flop true: $_"; | |
} | |
else { | |
print "flip flop false: $_"; | |
} | |
} | |
__END__ | |
foo | |
bar | |
start | |
inside | |
blah | |
this is the end | |
baz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment