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

How would I know which appropriate method to use when coding in Perl, I'm hoping I'm asking the question correctly. For example: use File::Basename; use Getopt::Std; If I want to use a method but don't know which one. Is there a way to like the methods with certain actions. Thanks

Replies are listed 'Best First'.
Re: Perl Methods
by trantor (Chaplain) on Aug 13, 2001 at 19:59 UTC

    It's common, when writing in Perl, to look for functions or Modules rather than methods. They are part of classes, and usually (although not mandatory) they are applied to objects.

    Two great starting points than can help you expanding your Perl knowledge, with respect to functions and modules, are CPAN and this site istelf :-) Try for example a Super Search or the Library or the Perl FAQ, or the great Tutorials...

    As usual, There's More Than One Way To Do It!

    Happy searching!

    -- TMTOWTDI