Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

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

I'm still fairly new to Perl myself.  This is what I'm doing and using:  I'm working through and reworking through merlyn's book Learning Perl (O'Reilly) -- it amazes me how much I missed the first time I read through it, so I'm rereading it.  I also have a copy of O'Reilly's Perl in a Nutshell book for reference and elaboration.  In addition to reading some of the questions and answers posed in the "Seekers of Perl Wisdom" section of this web site, I'm going through every page, every link of the on-line "Tutorials" section of this site.

Let me elaborate further on that and on my reworking of Learning Perl:  each page of the tutorial has explanations and examples of Perl commands.  Also, each primary page has links to other pages describing more command.  For each command, I have been creating a basic, simple perl program to see if I can get the command to work.  As part of this, I have several print statements that print out the results of variables as they are effected by each command.

I am now doing the same thing with Learning Perl book.  I started doing this because after the first read I realized that when I tried to use what I read at work, I fell on my face.  It wasn't until I tried to create something for testing (while not under pressure at work) that I was able to really learn the commands.

The result of all this study and practice is that I think I've just about left the "Newbie" category and have moved into the "Beginner" category.  Also, I've begun to be able to dependably use Perl for my job.

While developing each of these test scripts, incidentally, I make sure that I don't skip anything like documentation, indentation and other layout aspects.  I find this to be good practice for good code writing.  I also add the warning flag to my first line of each program:

#!/usr/bin/perl -w

Also, I add the line near the top to have Perl be tough on me:

use strict;

If you're not good a coming up with your own test program ideas, the Learning Perl book does have exercises at the back of each chapter with answers in the appendix. But, for me, I like to come up with my own ideas and go off on tangents.

Good luck to you NAstyed and be sure to visit this site regularly.

In reply to Re: The best way to start learning Perl? by Spenser
in thread The best way to start learning Perl? by NAstyed

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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2023-06-02 10:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found