URI::cpan::distfile(3pm)

URI::cpan::distfile3pm

Cpan:///distfile/author/dist-1.234.tar.gz

Usage

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

Version

version 1.009

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.

Methods

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.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

author

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

Author

Ricardo SIGNES <[email protected]>

From liburi-cpan-perl 1.009-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.