Pinto:...ackage(3pm)
π Pinto::Target::Package β like, it's a package but make it specific π
okay bestie so this is a User Contributed Perl Documentation page, the manual is called Pinto:...ackage(3pm), and we are SO about to get into it. Buckle up, grab a strawberry π, and let's go.
β¨ NAME β¨
Pinto::Target::Package β Specifies a package by name and version π
πΈ VERSION πΈ
version 0.14
π¦ METHODS π¦
π is_core
π is_core(in => $version)
Returns true if this Target is satisfied by the perl core as-of a particular version. If the version is not specified, it defaults to whatever version you are using right now. Like, the version you're literally running. No cap.
π real talk: that default is your current perl, so if you wanted a different version, bestie, you gotta say so.
π§ is_perl()
Returns true if this Target is a perl version of perl itself. It's giving "perl-ception" ngl. π
π is_satisfied_by($version)
Returns true if this Target is satisfied by version $version of the package. Simple as that, periodt.
β to_string()
Serializes this Target to its string form. This method is called whenever the Target is evaluated in string context. So like, when perl is like "gimme a string bestie", this is the method that shows up and slays. π₯
π«Ά AUTHOR π«Ά
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's the whole page, bestie, we ate and left no crumbs π β¨
shoutout to perl v5.40.1 for holding it down, this page was dated 2025-04-21, and yes the copyright is 2015 β iconic behavior, we love a long-lived module πππ¦
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms