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.007
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

WARNINGS

31       URI objects are difficult to subclass, so I have not (yet?) taken the
32       time to remove mutability from the objects.  This means that you can
33       probably alter a URI::cpan object into a state where it is no longer
34       valid.
35
36       Please don't change the contents of these objects after construction.
37

SEE ALSO

39       URI::cpan::author and URI::cpan::distfile
40

THANKS

42       This code is derived from code written at Pobox.com by Hans Dieter
43       Pearcey.  Dieter helped thrash out this new implementation, too.
44

AUTHOR

46       Ricardo SIGNES <rjbs@cpan.org>
47
49       This software is copyright (c) 2009 by Ricardo SIGNES.
50
51       This is free software; you can redistribute it and/or modify it under
52       the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.34.0                      2021-07-27                      URI::cpan(3)
Impressum