TS6.7.2, Solaris10How to find out what perl modules are available for use in a code. How can I do that ? I tried "perldoc perldoc", but it doesnt give the list of all modules installed. Is there a command or a way to find out what modules are installed on the server ?thanks
cpan[1]> m
when I did "perldoc perllocal", it did return a list of modules. So will cpan[1]>1 will return the same rame result ? Or is this command returns different list ?thanks
I don't think "perldoc perllocal" returns a complete list of all modules (now that I think about it - one should update the code I posted to cycle through the @INC paths to search instead of the more simplistic approach I took when I quickly wrote that code) - and the output appears to be date-sorted (if anything) which is probably nowhere as useful as being name-sorted IMO.
Why not simply something likels -lR `iwgethome`/iw-perl/*.pmat least for the first rough look?
find `iwgethome`/iw-perl -name "*.pm"
I don't believe that command [..]would work