1URI::cpan::distfile(3)User Contributed Perl DocumentationURI::cpan::distfile(3)
2
3
4

NAME

6       URI::cpan::distfile - cpan:///distfile/AUTHOR/Dist-1.234.tar.gz
7

VERSION

9       version 1.008
10

SYNOPSIS

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

PERL VERSION

16       This library should run on perls released even a long time ago.  It
17       should work on any version of perl released in the last five years.
18
19       Although it may work on older versions of perl, no guarantee is made
20       that the minimum required version will not be increased.  The version
21       may be increased for any reason, and there is no promise that patches
22       will be accepted to lower the minimum required perl.
23

METHODS

dist_name

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

dist_version

29       This returns the version of the dist, or undef if the version can't be
30       found or is the string "undef"
31

dist_filepath

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

author

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

AUTHOR

40       Ricardo SIGNES <rjbs@semiotic.systems>
41
43       This software is copyright (c) 2009 by Ricardo SIGNES.
44
45       This is free software; you can redistribute it and/or modify it under
46       the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.36.0                      2022-07-22            URI::cpan::distfile(3)
Impressum