- or download this
package MyApp::URLFetcher::LWP;
use base qw/MyApp::URLFetcher/;
...
my $url = shift;
get($url); # our chosen interface is simple with LWP
}
- or download this
package MyApp::URLFetcher::NetFTP;
use base qw/MyApp::URLFetcher/;
...
# ...
$f->get("...");
}
- or download this
use UNIVERSAL::require;
...
}
die "couldn't load any driver";
}