Created
September 27, 2012 19:07
-
-
Save pmichaud/3795822 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
### as released in star 2012.08 | |
pmichaud@kiwi:/zip/perl/rakudo-star-2012.08$ cat p2.p6 | |
print "abc: "; | |
my $abc = $*IN.get; | |
say "abc = $abc"; | |
print "def: "; | |
my $def = $*IN.get; | |
say "def = $def"; | |
pmichaud@kiwi:/zip/perl/rakudo-star-2012.08$ ./perl6 p2.p6 | |
abc: hello | |
abc = hello | |
def: world | |
def = world | |
### as in Rakudo 2012.09-21-g9af8f20 | |
pmichaud@kiwi:~/p6/rakudo$ cat p2.p6 | |
print "abc: "; | |
my $abc = $*IN.get; | |
say "abc = $abc"; | |
print "def: "; | |
my $def = $*IN.get; | |
say "def = $def"; | |
pmichaud@kiwi:~/p6/rakudo$ ./perl6 p2.p6 | |
hello | |
abc: abc = hello | |
world | |
def: def = world | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment