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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

The other day in a class I was teaching Perl for beginners, I was showing how to copy a file using File::Copy. At one point one of the students asked me (and actually this happens in every class) how could he find out the answer to this and similar questions without my help ?

I pointed to various resources, still they seemed not to be satisfied with the answer. So I asked on the Perl Trainers mailing list what others tell their students and asked a similar question on a beginner mailing list.

Here are the pointers I collected so far in two groups but in no particular order within the groups:

Local resources:
  • Serach the FAQ that comes with Perl: perldoc -q "SOME QUESTION"
    Specifically this did not have anything about on how to copy a file. While the FAQ is very good it is also constrained by the time of the good people who maintain it
  • Search in perldoc perlfunc
    obviously this did not have anything about file copy either and in general if there is no such function in Perl, then this is not useful
  • ActivePerl users (at least on Windows) have HTML version of the documentation
  • In his post Tad McClellan gave a nice step-by-step approach to solve the problem
On-line resources:

Still, I'd be interested in other ways, monks might use:

When you have a question such as "how to copy a file", what do you do to find a solutions ?
Do you prefer to use local resources or on-line resources ?
If you are coming from another programming languages, how would you look for an answer in that language ?

Looking back to my original question, interestingly I have not even thought about International Perl Resources, but that's another issue that might be addressed here.

In reply to Resources to get help in Perl by szabgab

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, 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, 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?

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

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (7)
    As of 2021-04-17 12:27 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found