Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

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

ch 1, Perldoc: I think the windozers might appreciate a note that ActivePerl (and probably other distributions) contains and keeps updated a HTML version of the docs they can browse, accessible from the Start menu. And possibly even that they can create a simple batch like this:

@rem Save as pdoc.bat @perldoc -o html -T -w index %* > %TEMP%\perldoc_temp.html && start %T +EMP%\perldoc_temp.html
store it in a directory that's in PATH and then pdoc ... will render the documentation in HTML and open it in their favorite browser. I think they'll find that easier to read than if they stay restricted to the shell window.

ch 1, Implicit ideas, The Default Scalar Variable: "the three-argument form of print and say"??? print FILEHANDLE "text"; has just two arguments. In either case I would not talk about N-argument form of print/say, it's not the number of arguments that matters. print/say simply uses $_ only if passed no arguments. Fullstop.

ch 1, The Default Array Variables: s/Another default variable is available inside Perl subroutines; this is \@_\./Another default variable available inside Perl subroutines is @_./;

Jenda
Enoch was right!
Enjoy the last years of Rome.


In reply to Re: Modern Perl: The Book: The Draft by Jenda
in thread Modern Perl: The Book: The Draft by chromatic

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • 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 avoiding work at the Monastery: (5)
    As of 2025-06-17 17:54 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.