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>

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