in reply to Re^2: Roger the Phone Guy
in thread Roger the Phone Guy

> Is there any way to check if module is loaded and installed on perl ?

There are many ways:

perl -MModule::Metadata -le'$i=Module::Metadata->new_from_module($ARGV +[0]);print $i->{filename}' Data::Dumper
perl -MExtUtils::Installed -le'$i=ExtUtils::Installed->new;print grep +/$ARGV[0]/, $i->files("Perl")' Dumper
perl -MFile::Find -le'find(sub{print $File::Find::name if /$ARGV[0]/}, +$_) for @INC' Dumper