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

(dkubb) Re: (1) Find and edit module

by dkubb (Deacon)
on Sep 29, 2001 at 13:07 UTC ( [id://115605]=note: print w/replies, xml ) Need Help??


in reply to Find and edit module

perldoc has an -m switch, which will bring up your default editor, displaying most module's full source code:

perldoc -m CGI

Replies are listed 'Best First'.
Re: (dkubb) Re: (1) Find and edit module
by jlf (Scribe) on Oct 13, 2001 at 01:56 UTC
    I believe Perldoc's -m switch runs the full source code through the pager, but not into an editor. However, localizing the Perldoc pager environment variable for a single command, like so:

    $ PERLDOC_PAGER=/bin/vi perldoc -m CGI

    works on my system (Cygwin32).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://115605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-03-28 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found