1v6::perlito(3) User Contributed Perl Documentation v6::perlito(3)
2
3
4
6 v6::perlito - A Perlito Perl6 front-end for v6.pm
7
9 # file: hello_world.pl
10 use v6-perlito;
11 "hello, world".say;
12
13 $ perl hello_world.pl
14
16 The "v6::perlito" module is a front-end to the Perlito6 Perl 6
17 compiler.
18
20 - The source file header must be valid perl5 and perl6 code.
21
22 This is a valid header:
23
24 #!/usr/bin/perl
25 use v6-perlito;
26
27 * it executes perl5
28
29 * perl5 will call the "v6.pm" module.
30
31 This is an invalid header:
32
33 #!/usr/bin/pugs
34 use v6;
35
36 * it tells perl5 to execute "/usr/bin/pugs".
37
38 * it tells perl5 that Perl v6.0.0 required.
39
41 The Pugs Team <perl6-compiler@perl.org>.
42
44 The Perl 6 homepage at <http://dev.perl.org/perl6>.
45
46 - the Perl 6 Synopsis: <http://dev.perl.org/perl6/doc/synopsis.html>.
47
48 The Pugs homepage at <http://pugscode.org/>.
49
50 The Parrot homepage at <http://www.parrotcode.org>.
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.34.0 2021-07-27 v6::perlito(3)