Hello - Implement "Hello world" in Perl 6
use Hello;
my $hello = Hello.new();
say $hello.greet(); # "Hello world!"
Run this module via its CLI program, like so:
$ perl6 bin/hello
Try out the test suite, like so:
$ prove --exec perl6
Perl 6 is supplied by Rakudo.
Hello was developed with Rakudo v6.c, using the MoarVM backend.
The perl6
binary can be attained via
rakudobrew, like so:
$ rakudobrew build moar v6.c
Running the tests relies on prove
, which is supplied by Perl 5's
App::Prove.
Tommy Stanton <tommystanton@gmail.com>