A simple NQP program:
#!nqp
my $name := "Just another Perl hacker";
hello($name);
our sub hello($x) {
say("Hello, $name");
}
| Not Quite Perl | Not Quite Perl - A lightweight Perl 6 | #6 |
#!nqp
my $name := "Just another Perl hacker";
hello($name);
our sub hello($x) {
say("Hello, $name");
}
|
Copyright © 2010 http://www.pmichaud.com/2010/pres/ |