From d786c94f8408b2fb2f0a0b39c7c5cc8ec77e0808 Mon Sep 17 00:00:00 2001 From: Nami-Doc Date: Tue, 7 Oct 2014 15:47:06 +0200 Subject: Fix a braino caught by @wryk++ --- perl6.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3