Created
November 1, 2015 01:12
-
-
Save ronaldxs/9eebbf721b93bc127aac 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
my @bottles = (flat ((3...2) X~ ' bottles'), | |
'1 bottle', | |
'no more bottles', | |
'99 bottles'); | |
my @actions = (flat 'Take one down and pass it around' xx 4, | |
'Go to the store and buy some more'); | |
for flat @bottles Z @actions Z @bottles[1..*] { | |
say "$^a of beer on the wall, $^a of beer. $^b, $^c of beer on the wall.\n".tc; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment