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

NAME

6       URI::cpan - URLs that refer to things on the CPAN
7

VERSION

9       version 1.008
10

SYNOPSIS

12         use URI::cpan;
13
14         my $uri = URI->new('cpan:///distfile/RJBS/URI-cpan-1.000.tar.gz');
15
16         $uri->author;       # => RJBS
17         $uri->dist_name;    # => URI-cpan
18         $uri->dist_version; # => 1.000
19
20       Other forms of cpan: URI include:
21
22         cpan:///author/RJBS
23
24       Reserved for likely future use are:
25
26         cpan:///dist
27         cpan:///module
28         cpan:///package
29

PERL VERSION

31       This library should run on perls released even a long time ago.  It
32       should work on any version of perl released in the last five years.
33
34       Although it may work on older versions of perl, no guarantee is made
35       that the minimum required version will not be increased.  The version
36       may be increased for any reason, and there is no promise that patches
37       will be accepted to lower the minimum required perl.
38

WARNINGS

40       URI objects are difficult to subclass, so I have not (yet?) taken the
41       time to remove mutability from the objects.  This means that you can
42       probably alter a URI::cpan object into a state where it is no longer
43       valid.
44
45       Please don't change the contents of these objects after construction.
46

SEE ALSO

48       URI::cpan::author and URI::cpan::distfile
49

THANKS

51       This code is derived from code written at Pobox.com by Hans Dieter
52       Pearcey.  Dieter helped thrash out this new implementation, too.
53

AUTHOR

55       Ricardo SIGNES <rjbs@semiotic.systems>
56
58       This software is copyright (c) 2009 by Ricardo SIGNES.
59
60       This is free software; you can redistribute it and/or modify it under
61       the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.36.0                      2023-01-20                      URI::cpan(3)
Impressum