1v6(3) User Contributed Perl Documentation v6(3)
2
3
4
6 v6 - A Perl 6 implementation
7
9 # file: hello_world.pl
10 use v6-perlito;
11 "hello, World".say;
12
13 $ perl hello_world.pl
14
16 The "v6" module is a front-end to the "Perlito" Perl6 compiler.
17
18 Alternate backend modules can be installed. For example, the "Mildew"
19 compiler can be used as:
20
21 use v6-mildew;
22
24 - The source file header must be valid perl5 and perl6 code.
25
26 This is a valid header:
27
28 #!/usr/bin/perl
29 use v6-perlito;
30
31 * it executes perl5
32
33 * perl5 will call the "v6.pm" module.
34
35 This is an invalid header:
36
37 #!/usr/bin/pugs
38 use v6;
39
40 * it tells perl5 to execute "/usr/bin/pugs".
41
42 * it would tell perl5 that Perl v6.0.0 required.
43
45 The Pugs Team <perl6-compiler@perl.org>.
46
48 The Perl 6 homepage at <http://perl6.org>.
49
50 The Perlito compiler at <http://github.com/fglock/Perlito>.
51
53 Copyright 2006, 2010, 2012 by Flavio Soibelmann Glock and others.
54
55 This program is free software; you can redistribute it and/or modify it
56 under the same terms as Perl itself.
57
58 See <http://www.perl.com/perl/misc/Artistic.html>
59
60
61
62perl v5.32.0 2020-07-28 v6(3)