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


in reply to Favourite One-liners?

for checking if a module is installed:
perl -MModule::Name -eprint