Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Most of the time I paste a one line "perldoc -f foo" reply it's because the entirety of the answer is in that part of TFM. A large part of getting really productive in Perl is to learn how to use perldoc effectively and where to look for what kinds of information (so that eventually they too can completely answer questions with a succinct two word perldoc perlzorch).

In fact I almost commented as much on the "Hey, let's rewrite perldoc" Discussion the other day. It's not that the documentation is lacking, it's that people don't know where to come in because it's so complete. If you're dissatisfied with Perl's documentation, take a look at what comes with Ruby (disclaimer: I \N{HEART} Ruby; I just think that the current state of the documentation is miles behind Perl's (due in part to it's relative immaturity I'm sure)).

Update: Just to clarify: this is why I specifically said relative immaturity, and that statement was in regards to the Ruby documentation. The second edition Camel from which most of the core of perldoc is descended came out in 1996; the first major English Ruby documentation (in the form of the Pickaxe book) wasn't out until 2001. And while I also \N{HEART} Smalltalk and its class browser that Rdoc is modeled after, there are times and workflow patterns when perldoc -f foo beats the pants off start-browser-clickety-clickety-bring-up-find-pane-clickety-clickety.

Another Update: In the process of mucking with Ruby On Rails (which is pretty spiffy, by the way) I've become aware of the ri command which comes with recent (1.8+, I believe) Ruby which functions like perldoc -f for Ruby classes and methods. They're definitely catching up (and Ruby's really growing on me, which maybe means I need to see a dermatologist (or a geologist)).


In reply to Re: Why do nodes with minimal value get upvoted most? by Fletch
in thread Why do nodes with minimal value get upvoted most? by Eyck

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-24 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found