Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I've taken a different approach to learning languages.

I find the most recommended book for learning and the most recommended book for reference; they are not always the same thing, and they are not always in book form.

I have, over the years, built a list of basic tasks I generally need to be able to accomplish in any home project. It starts with really basic tasks, like displaying output and performing computations; it moves on to doing arrays, processing command line parameters; it builds toward things like reformatting timestamps in various ways; and winds up with things like performing database operations, network interfacing, and graphics manipulations.

One by one, usually in the order listed, I proceed to write a program that does the thing, whatever "the thing" is. If I can, I try to learn how to write it as a library subroutine (the term in Perl lingo is "Module", BTW), and do that.

When I get through my checklist, not only have I done most of the things in the new language which experience has taught me I need to know how to do, I've written a library of routines to accomplish the tasks which either make it easier to do later (almost an interlingual abstraction layer, really), or at least provides sufficiently-documented examples of how to get it done.

For me, the Perl guide book was "Programming Perl", and the reference was the HTML perl reference guide that came with ActiveState Perl, more specifically the "perlfunc" entry.

Everything after that was experimentation. After a bit longer than I would have liked, my code started looking like it was written by a Perl programmer and not like a C programmer clawing his way through Perl.


In reply to Re: New User .. Need help with some tutorials or books by marinersk
in thread New User .. Need help with some tutorials or books by Rohit Jain

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

    No recent polls found