Skip to content

Instantly share code, notes, and snippets.

@dwarring
Created October 9, 2013 03:25
Show Gist options
  • Save dwarring/6895724 to your computer and use it in GitHub Desktop.
Save dwarring/6895724 to your computer and use it in GitHub Desktop.
use v6;
sub G($s) {gather $s()}
sub T($s) {take $s}
say qq{{
<html>
<body>
<h1>Green Bottles...</h1>
{G { my $n = 10;
while $n > 0 {my $m = $n--; T qq{
<blockquote>
<em> $m </em> green bottles standing on the wall,
<em> $m </em> green bottles standing on the wall
<br/>
and if one green bottle should accidently fall...
<br/>
there'd be <em> $n </em> green bottles standing on the wall
</blockquote>
}
}}}
</body>
</html>
}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment