Is there any way to make Perl 6 not require my
to declare variables? I tried this:
#!/usr/bin/perl6
no strict;
no warnings;
$z = "hello world";
say $z;
But that didn't work
===SORRY!=== Error while compiling ./helloworld.pl
Variable '$z' is not declared
at ./helloworld.pl:5
------> $zā = "hello world";
expecting any of:
postfix
EDIT: This is a bug in Rakudo. See Perl 6 spec: http://design.perl6.org/S01.html The official Rakudo package appears to go out of date very quickly. It is recommended that you compile from source: http://rakudo.org/how-to-get-rakudo/