in reply to Best way to check for installed module

The canonical way from the Cookbook is simply:
BEGIN { unless (eval "require MyModule") { warn "Eeek! no MyModule: $@"; } } BEGIN { unless (eval "use MyModule") { warn "Eeek! no MyModule: $@"; } }

--
$you = new YOU;
honk() if $you->love(perl)

Replies are listed 'Best First'.