in reply to Use a CPAN module that is not installed! Is this a good idea?

Thoughts?

Take a look at Acme::Everything, which takes the idea a little further. AIUI, one can do stuff like:
> perl -MAcme::Everything -le 'print Math::GMP->new(42);'
and if Math::GMP has been installed, then it will be loaded and the code executed.
If Math::GMP has not been installed, then it (and any missing dependencies) will be installed, loaded, and the code then executed.

However, I've not tried Acme::Everything - nor am I likely to ;-)
I think it was done merely as a quirky bit of fun.

Cheers,
Rob