Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

What Perl Source File do I Edit?

by perl.j (Pilgrim)
on Oct 30, 2011 at 23:38 UTC ( [id://934789]=perlquestion: print w/replies, xml ) Need Help??

perl.j has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: What Perl Source File do I Edit?
by GrandFather (Saint) on Oct 30, 2011 at 23:58 UTC
Re: What Perl Source File do I Edit?
by ww (Archbishop) 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 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

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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found