|
|||||||||
|
|||||||||
January 8, 2008 Perl6 hasn't been released yet, but you can play with it all the same. It's a very interesting piece of work and I recommend you check it out, even if you're like me and don't do much Perl. First checkout the latest Parrot source code using Subversion: svn co https://svn.perl.org/parrot/trunk parrot Run the configure script, then compile Parrot using make: perl Configure.pl make Optionally you can run the test suite. make test [...] All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 14 tests and 616 subtests skipped. Files=546, Tests=10726, 747 wallclock secs (502.84 cusr + 78.73 csys = 581.57 CPU) "1 subtest UNEXPECTEDLY SUCCEEDED" What?!?! Hehe.. You gotta love those tests, passing even when they're not supposed to. Then finally you can build the perl6 binary: make perl6 Hopefully you got no errors. Copy the binary somewhere into your path: cp languages/perl6/perl6 ~/bin Run a test script: #!/usr/bin/env perl6 print "hello perl6!"; Outputs: hello perl6!
|
|
||||||||
|
|||||||||