--- Andy Armstrong <[EMAIL PROTECTED]> wrote: > use unavailable qw/LWP::UserAgent/; > use Module::That::Needs::LWP::UserAgent; > <bang>
Can you just do the following? BEGIN { $INC{'LWP/UserAgent.pm'} = 1 } use Module::That::Needs::LWP::UserAgent; <bang> Should be trivial to write, unless I have (as usual) missed glaringly obvious corner cases. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/