vetrivel has asked for the wisdom of the Perl Monks concerning the following question:

How to see all the included module names , in a current package ?

Replies are listed 'Best First'.
Re: Build in modules in perl
by Anonymous Monk on Feb 09, 2011 at 11:56 UTC
    How to see all the included module names , in a current package?

    Read Simple Module Tutorial, to learn the perl terminology. Then use Module::Info to get the info you want.

      Use the following script it will display all the modules you have installed.

      perl -MFile::Find=find -MFile::Spec::Functions -Tlwe \ 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => +1 }, @INC'
        That has nothing to do with the question, stay on topic
Re: Build in modules in perl
by Khen1950fx (Canon) on Feb 09, 2011 at 13:24 UTC
    To get a quick overview of the modules used by the current package, try Module::Used which has a bin script modules-used included with it. Simply do for example CGI:
    modules-used source-file /usr/lib/perl5/5.8.8/CGI.pm
    Just make sure that you give the full path to your module, script, file, or source, and you're good to go.