diff options
author | Nami-Doc <vendethiel@hotmail.fr> | 2014-10-07 15:47:06 +0200 |
---|---|---|
committer | Nami-Doc <vendethiel@hotmail.fr> | 2014-10-07 15:47:06 +0200 |
commit | d786c94f8408b2fb2f0a0b39c7c5cc8ec77e0808 (patch) | |
tree | 32c6aaa2081c432016f1654310dc9b5fcfc6f4ca | |
parent | 254548a70af620ffa3df713e330e3f52173b02fd (diff) |
Fix a braino
caught by @wryk++
-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 7afcc930..ee27ff42 100644 --- a/perl6.html.markdown +++ b/perl6.html.markdown @@ -1447,7 +1447,7 @@ so 'ayc' ~~ / a [ b | y ] c /; # `True`. Obviously enough ... # It's very powerful, because Perl 6 actually parses the argument # and pass them as such to the sub. It also handles named argument (`--foo`) # and will even go as far as to autogenerate a `--help` -sub MAIN($name) { say "Hello, you !" } +sub MAIN($name) { say "Hello, $name !" } # This produces: # $ perl6 cli.pl # Usage: |