URI::cp...distfile(3)

🌸 NAME 🌸

Okay bestie, this is the manual page for URI::cpan::distfile(3) β€” the header folds in User Contributed Perl Documentation and shows the cute truncated label URI::cp...distfile(3). The NAME line is literally:

URI::cpan::distfile β€” cpan:///distfile/AUTHOR/Dist-1.234.tar.gz

That whole URL is the vibe: it names a file in an author directory on the CPAN. πŸ¦‹

πŸ’– VERSION πŸ’–

This one is version 1.009. Slay. ✨

✨ SYNOPSIS ✨

This URL refers to a file in an author directory on the CPAN, and expects the format AUTHOR/DISTFILE.

πŸͺ PERL VERSION πŸͺ

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

Lowkey important, bestie: β€œmay work on older versions” is not a promise. The minimum can go up, and patches to lower it are not promised to be accepted. πŸ’€

πŸ’… METHODS πŸ’…

These are the methods, and each one is doing its little main character thing. 🫢

🌟 dist_name

This returns the name of the dist, like CGI.pm or Acme-Drunk.

🌟 dist_version

This returns the version of the dist, or undef if the version can’t be found or is the string "undef".

🌟 dist_filepath

This returns the path to the dist file. This is the whole URL after the "distfile" part.

🌟 author

This returns the name of the author whose file is referred to.

πŸ‘‘ AUTHOR πŸ‘‘

Ricardo SIGNES <cpan@semiotic.systems>

This software is copyright (c) 2009 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


Bye bestie πŸ’– β€” this page’s source/version stamp is perl v5.42.0, it’s dated 2024-03-08, and the footer is still serving that truncated URI::cp...distfile(3) fantasy. Slay. 🌈✨

πŸ“¦ where this page comes from