Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

What Perl Source File do I Edit?

by perl.j (Pilgrim)
on Oct 30, 2011 at 23:38 UTC ( #934789=perlquestion: print w/ replies, xml ) Need Help??
perl.j has asked for the wisdom of the Perl Monks concerning the following question:

This might be a general question, but I can't be sure until I ask it ;-). In the Perl Source Code, what are the major file(s)? What is in each file, or at least the most important ones? Thanks!
--perl.j

Comment on What Perl Source File do I Edit?
Re: What Perl Source File do I Edit?
by GrandFather (Cardinal) on Oct 30, 2011 at 23:58 UTC
Re: What Perl Source File do I Edit?
by ww (Bishop) on Oct 31, 2011 at 01:06 UTC

    Sorry, perl.j, because in this and some of your other posts, I see (well, 'infer') an effort to learn "more" (for some large value of "more") about Perl, but - - for posting yet another question that could be answered by a bit of your own research (...and a whale of a lot of study).

    And perhaps it didn't occur to you, but while an answer to your first question is not all that verbose, a decent answer to the second would occupy a fair-sized library.

    Also important: you'd probably learn a lot more (including some gotchas, exceptions, tangential facts, etc) by doing your own research and study.

    So, extending the reply above, you will profit from reading and learning from perldoc perltoc (which, with any reasonable install, should exist on your local machine).

Re: What Perl Source File do I Edit?
by Anonymous Monk on Oct 31, 2011 at 02:41 UTC

    Who hired you to ask this question, and how much are you getting paid?

Re: What Perl Source File do I Edit?
by JavaFan (Canon) on Oct 31, 2011 at 09:41 UTC
    I find cat an excellent tool to find out what's in each file.

      True; though when it comes to editing them, nothing beats ed!

Re: What Perl Source File do I Edit?
by zentara (Archbishop) on Oct 31, 2011 at 11:10 UTC
    If you want to see whats in a module used in your script, use perldoc -m modulename, for example: perldoc -m CGI

    If you want to know where it's located, its perldoc -l CGI


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      Unfortunately, that only works if the .pm file contains pod, and its not in a .pod file :)

      pm_which pmwhich

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://934789]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-07-25 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls