This software identifies URLs that are related to CPAN files and packages.
Using URI::cpan is simple and straightforward. Once you've installed the module, you can import it into your code and start using its various methods and functions right away. For example, you might create a new URI object using the cpan scheme:
```
use URI::cpan;
my $uri = URI->new('cpan:///distfile/RJBS/URI-cpan-1.000.tar.gz');
```
From there, you can access various properties of the URI by calling methods like `author`, `dist_name`, and `dist_version`. These functions allow you to extract key information from the URI, such as the author and name of the distribution, as well as its version number.
In addition to the `distfile` form of the cpan: URI, there are other forms available as well. For example:
```
cpan:///author/RJBS
```
This form allows you to search for all distributions authored by a particular person on CPAN. There are also several reserved forms of the cpan: URI that may be used in the future, including `cpan:///dist`, `cpan:///module`, and `cpan:///package`.
Overall, URI::cpan is a powerful and flexible module that makes it easy to work with CPAN-related URLs in your Perl code. Whether you're a seasoned developer or just starting out, this module is definitely worth checking out.
Version 1.003: N/A