Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Trying to learn a new language that at first sight is very poorly documented (no -- votes for this please... i have been using perl for a few months before finding this site, and learning how to use the docs properly)

Perl is very well documented: but you may still find it confusing. Odds are, you're just not the intended audience. As the early manual pages stated, perl was written as an alternative for using UNIX shell tools and C, and that was, quite reaonably, the assumed background for the documentaton. The documentation assumed, (and to an extent, still does), that you already understood programming terms and concepts, and just want to try out this new language called perl.

Perl is no longer very "new", and the audience for the documentation is no longer limited to ex-C and shell programmers, but the documentation has remained largely the same. If you want to re-write some of it for a new target audience, I'm sure it would be appreciated. Good documentation is valuable, because documentation is hard. You have to get all the details right, or the newcomers will learn the wrong things.

I learned perl from the online documentation, and very much appreciated it. I was part of the target audience, so that worked well for me. At the time, I thought perl was much better documented than C, which is what I was using. I didn't know where to find a central list of all the C string handling functions that were available on my UNIX system, and I was getting frustrated with trying keyword searches on the word "string". Perl had everything documented on one page.

You might want to try some of the other resources targeted at learning programming in general, or learning perl in specific. Perhaps a copy of the book "Learning Perl" would help, if you find that you learn well from books.

perldoc -f <functioname> brings up help on a built-in perl function.

Good luck, and keep learning!

--
Ytrew Q. Uiop


In reply to Re^2: So, just what exactly is it about Perl? by Ytrew
in thread So, just what exactly is it about Perl? by smullis

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 imbibing at the Monastery: (4)
As of 2024-04-20 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found