How do you find out exactly where a perl module file is ? Following example searches Template.pm in the paths where perl modules are installed.
find `perl -e '$,="\n";print @INC'` -name Template.pm
Note
The perl command is in back-ticks. This is an example of command execution within a command.
-bash-2.05b$ perldoc -l CGI
ReplyDelete/usr/libdata/perl/5.00503/CGI.pm
Thanks for your comment ! Keep visiting my blog.
ReplyDeleteRegards,
Ketan