G'day AnomalousMonk,

The information you provided is quite correct and I have upvoted your post.

However, for generally looking up functions, I'd recommend another online, perldoc page: "Perl functions A-Z" (which provides an index to Perl functions).

The perlfunc page is huge: in most cases, you'll download many orders of magnitude more information than needed. Also, unless you're familiar with that page, navigation is not that easy. Having said that, perlfunc is sometimes exactly what you need.

As an example of those pros and cons, consider the endpwent function. If you look under the "Alphabetical Listing of Perl Functions" section, you need to know that listing is not truly alphabetical and this order exists: getpwent ... setpwent ... endpwent. However, the information under the list of get* ... set* ... end* entries is probably what you'll want: compare with "endpwent", from the A-Z Index, which has no information at all except for the name of the function.

On the other hand, using the A-Z Index will locate functions with just a mouse click or two. It does have the occasional limitation, as described above; however, in the main, it has the same information as perlfunc, and is faster and easier to use.

The perlfunc page certainly has other information but, for simply looking up a function (such as shift) the documentation is identical to that found via the A-Z Index.

— Ken


In reply to Re^4: Perl to run 2 files and print the third with loop by kcott
in thread Perl to run 2 files and print the third with loop by EBK

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.