package MyApp::URLFetcher::LWP; use base qw/MyApp::URLFetcher/; use LWP::Simple; # define the most convenient interface you can think of # if you need just the contents of a URL in a string, do that sub get_url_to_str { my $url = shift; get($url); # our chosen interface is simple with LWP }