/rapid-perl6

Rapid Perl6 is Vagrant environment for the Perl 6 programming language.

Primary LanguageShell

Rapid Perl6

Rapid Perl6 is Vagrant environment for the Perl 6 programming language.

Provisioning

# install Vagrant plugin
vagrant plugin install vagrant-hostsupdater

cd rapid-perl6
vagrant up

...

vagrant ssh

Version

cd /home/vagrant/perl6/bin
./perl6 -v
This is perl6 version 2015.01-194-g5bb1942 built on MoarVM version 2015.01-72-g9106bee

OR

cd /home/vagrant/perl6/bin
./perl6 -V
...

Help

cd /home/vagrant/perl6/bin
./perl6 -h

hello world!

cd /home/vagrant/perl6/bin
./perl6
> say 'hello world!';
hello world!
> exit;

hello world! (helloworld.pl)

#!/usr/bin/env perl6
say q/hello world!/;
1;

Run helloworld.pl

cd /home/vagrant/perl6/bin
./perl6 /vagrant/helloworld.pl
hello world!

Reference