summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-07-16 20:08:48 +0200
committerNami-Doc <vendethiel@hotmail.fr>2014-07-16 20:08:48 +0200
commit78e3a442e927f858d1a83fdc005b94ffca3ee659 (patch)
tree4286559b4a3c770212e0dca5e9c72f55b68344bd /perl6.html.markdown
parent3d81df43b15debcf3643a1977a83c5051b25803b (diff)
Sigh.
Diffstat (limited to 'perl6.html.markdown')
-rw-r--r--perl6.html.markdown5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index 830b8182..30468c56 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -29,9 +29,8 @@ Perl 6 runs on [the Parrot VM](http://parrot.org/), the JVM and [the MoarVM](htt
my $str = 'String';
my $str2 = "String"; # double quotes allow for interpolation
-# variable names can contain but not end with simple quotes and dashes, and can contain (and end with) underscores
-
-my $weird'variable-name_ = 5;
+# variable names can contain but not end with simple quotes and dashes, and can contain (and end with) underscores :
+# my $weird'variable-name_ = 5; # works !
## - Arrays. They represent multiple values. They start with `@`