PPI::St...::Perl6(3)
π PPI::Statement::Include::Perl6 β the tea β
okay so bestie, this page lives in the User Contributed Perl Documentation manual, section 3, and it's all about PPI::Statement::Include::Perl6. yes the name is long. no we are not shortening it. it's giving "my full legal name" energy and we respect it. β¨
πΈ NAME πΈ
PPI::Statement::Include::Perl6 β the Inline Perl 6 file section. that's it, that's the whole name. short, sweet, iconic. π
β¨ SYNOPSIS β¨
here's the vibe in code form, copy it exactly, don't freestyle:
use v6-alpha;
grammar My::Grammar {
...
}
likeβ¦ you write use v6-alpha; and then suddenly you're in grammar town. slay. π¦
π INHERITANCE π
the family tree, and yes she comes from a long line of distinguished ancestors:
PPI::Statement::Include::Perl6
isa PPI::Statement::Include
isa PPI::Statement
isa PPI::Node
isa PPI::Element
generational wealth fr fr π
π DESCRIPTION π
so a PPI::Statement::Include::Perl6 is a special include statement, and what it means is: hey, a section of Perl 6 code is about to be inlined into a totally normal Perl 5 code file. it's a crossover episode. π
the main character purpose of this class is to let PPI give at least basic support for "6 in 5" modules like v6.pm. basic. we said basic. don't come for her. π
rn, PPI only supports starting a Perl 6 block. it does not currently support changing back to Perl 5 again. and also β and this is the important part β allPODand__DATA__blocks and__END__blocks will be included in the Perl 6 string and will not be parsed by PPI. so like. heads up. π
π§ perl6
the perl6 method returns the block of Perl 6 code that is attached to the use v6...; command. that's the whole method. she does one thing and she does it well. periodt. π₯
π TO DO π
- Write specific unit tests for this package
that's it. that's the whole list. one item. she's manifesting. π«Ά
πΈ SUPPORT πΈ
See the support section in the main module. (go look, it's right there, i believe in you bestie π)
β AUTHOR β
Adam Kennedy <adamk@cpan.org> β king behaviour honestly π
π COPYRIGHT π
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
and that's the whole page, bestie!! no notes, ate and left no crumbs π
this was perl v5.42.0, dated 2026-01-17, and yeah the footer calls it PPI::St...::Perl6(3) because apparently we're all about that abbreviation life now. anyway. love u. bye. π¦β¨
π¦ where this page comes from
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms