logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Ricardo SIGNES <cpan@semiotic.systems>

Contributor

       Ricardo Signes <rjbs@semiotic.systems>

Name

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

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.

See Also

       URI::cpan::author and URI::cpan::distfile

Synopsis

         use URI::cpan;

         my $uri = URI->new('cpan:///distfile/RJBS/URI-cpan-1.000.tar.gz');

         $uri->author;       # => RJBS
         $uri->dist_name;    # => URI-cpan
         $uri->dist_version; # => 1.000

       Other forms of cpan: URI include:

         cpan:///author/RJBS

       Reserved for likely future use are:

         cpan:///dist
         cpan:///module
         cpan:///package

Thanks

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

Version

       version 1.009

Warnings

       URI objects are difficult to subclass, so I have not (yet?) taken the time to remove mutability from the
       objects.  This means that you can probably alter a URI::cpan object into a state where it is no longer
       valid.

       Please don't change the contents of these objects after construction.

See Also