diff options
author | Adam Bard <github@adambard.com> | 2016-03-20 21:11:05 -0700 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2016-03-20 21:11:05 -0700 |
commit | 194b303b4a5554d65a65d64dda5f068942e2b8cd (patch) | |
tree | 039076cddb8a13a03b17044fd49f42baa5d954cc | |
parent | 684bae87eff78b55a95b6b42d059747b9ba6a5d4 (diff) | |
parent | 74ea20793d8ab73ab93f16646b363c1920e48e15 (diff) |
Merge pull request #2204 from williadc/master
[perl6/en] Fixed instance where wrong variable name was used
-rw-r--r-- | perl6.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown index 5082a433..b5a25a41 100644 --- a/perl6.html.markdown +++ b/perl6.html.markdown @@ -824,7 +824,7 @@ say why-not[^5]; #=> 5 15 25 35 45 # (they exist in other langages such as C as `static`) sub fixed-rand { state $val = rand; - say $rand; + say $val; } fixed-rand for ^10; # will print the same number 10 times |