How can I find out where a Perl module is installed?

后端 未结 9 725
小蘑菇
小蘑菇 2021-01-30 10:30

How do get the path of a installed Perl module by name, e.g. Time::HiRes?

I want this just because I have to run my perl script on different nodes of a SGE

9条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 11:11

    perl -MTime::HiRes -e 'print $INC{"Time/HiRes.pm"}' or perldoc -l Time::HiRes

提交回复
热议问题