http://www.perlmonks.org?node_id=515159


in reply to Re: Using the perl modules depends upon the availability of another module.
in thread Using the perl modules depends upon the availability of another module.

Alternatively, there is the if module
use Module1; use if $INC{'Module1.pm'}, 'Module2';
looks a little nicer, although I don't think I've ever actually used it.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.