NAME

URI::virtual - virtual URI, refers to a list of prefixes.

VERSION

Version 0.02

package URI::virtual;

REQUIRES

URI::http, Carp

SYNOPSIS

 #
use lib "$ENV{PWD}/lib";
use URI;
use Data::Dumper;
my @uris = (
	URI->new("virtual://CPAN/authors/"),
	map { URI->new("virtual://CPAN/modules/")->resolve() } 1 .. 5,
);
for ( @uris ) {
	print ref, " => ", $_, "\n";
};
__DATA__
#my config
CPAN 	ftp://mirror.hiwaay.net/CPAN/ 
CPAN	ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN
CPAN	ftp://cpan.mirrors.redwire.net/pub/CPAN/
#include /usr/portage/profiles/thirdpartymirrors
#my results
URI::virtual => virtual://CPAN/authors/
URI::ftp => ftp://cpan.mirrors.redwire.net/pub/CPAN///modules/
URI::ftp => ftp://cpan.mirrors.redwire.net/pub/CPAN///modules/
URI::ftp => ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN//modules/
URI::ftp => ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN//modules/
URI::ftp => ftp://cpan.mirrors.redwire.net/pub/CPAN///modules/

load_lists accepts a list of filenames, and adds their contents to the lookup table.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 68:

Unknown directive: =function

Around line 77:

Unknown directive: =function

Around line 109:

Unknown directive: =function