Debian...::Perl(3pm)
πΈ Debian::Upstream::Metadata::Perl β debian/upstream/metadata for Perl modules πΈ
okay bestie, listen up, because this little Perl module is lowkey doing the most useful glow-up for your Debian packaging and nobody is talking about it π
It lives in the User Contributed Perl Documentation section of the manual, and it's giving "quiet helper that carries the whole team."
β¨ SYNOPSIS β¨
Like, here's the vibe in code:
use Debian::Upstream::Metadata::Perl;
Debian::Upstream::Metadata::Perl->convert(
CPAN::Meta->new('META.yaml'),
'debian/upstream/metadata');
That's it. That's the whole flex. π«Ά
π DESCRIPTION π
So. Debian::Upstream::Metadata::Perl is a helper module β a little one, a supportive bestie β that converts the data chillin' inside a CPAN::Meta object into a debian/upstream/metadata file. And it does it according to the UpstreamMetadata specification, no cap. β
π¨ heads up though: upstream links will be switched tohttpsURLs. Every single one. So if you were emotionally attached to yourhttp, bestie, it's over. π₯
π EXPORTED FUNCTIONS π
boil_down_meta (CPAN::Meta object)
Extracts the data from the CPAN::Meta argument and cleans it up β think of it as a little self-care routine for your metadata β¨π§
It hands you back a hash ref stuffed with data that's actually suitable for Debian files. King behavior. π
π METHODS π
convert (CPAN::Meta object, filename)
The main character method. π¦
Quick heads up: this one is not an exported function. You don't just call it and hope. Check the SYNOPSIS above for the exact way to summon it, bestie β cf. that, fr fr.
π SEE ALSO π
CPAN::Meta::Specβ the spec, the blueprint, the lore π- UpstreamMetadata β <https://wiki.debian.org/UpstreamMetadata> β the wiki page that tells you what all of this is even about π
πΈ COPYRIGHT AND LICENSE πΈ
Shoutout to the iconic devs who made this happen:
- Copyright 2013-2026, gregor herrmann gregoa@debian.org
- Copyright 2016, Alex Muntada alexm@alexm.org
- Copyright 2022, Damyan Ivanov dmn@debian.org
- Copyright 2026, Dominique Dumont dod@debian.org
This program is free software and can be distributed under the same terms as Perl. periodt. π
and that's the whole page bestie!! π this one's perl v5.40.1, dated 2026-05-08, and it's filed under Debian...::Perl(3pm) in the User Contributed Perl Documentation β go forth and convert those metadata files, you absolute legend π¦β¨π
π¦ where this page comes from
- ubuntu stonking: libdebian-source-perl 0.133 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms