Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
As a newbie to Perl and coding, though not at all a child, I can maybe offer some input..

I have tried C, using the K&R book, and, although I enjoyed it, I was never able to get into it. I think the reason for this is due to the fact that I had a hard time seeing how far I could take it.

With Perl, I grabbed the "Learning Perl" O'Reilly book, and immediately saw some possible uses for it. I have taken those possible uses and turned them into actual working code (though probably not the best), and have started asking people what they wanted created. I have written a phone number to word generator (and the other way around), as well as a program that monitors your machine for an IP address change, when it changes, it will then update an HTML page with the new IP.

Neither of these are the cleanest code, and some would shudder to look at it I'm sure, but they work, in a few short months I have learnt a lot more Perl than I ever did C. Immediate gratification is a very good thing for newbies (like myself).

Now that I have created my first few applications I am trying very hard to advance both my programming knowledge, as well as style - ie use strict, better structure. I have ordered the 6 cd set from O'Reilly, and am looking forward to going through Perl Programming to advance further.

Rules are important, no doubt, but IMHO, you have to give the carrot stick before applying the whip ;-)

In a semi-related note, I would like to be able to throw some code up and have someone tell me what I have done wrong, or what could be better and why, I am completely dependant on just working through the books right now, and would like to know where I need improvement (OK, OK, everywhere, but you know what I mean). I'm not sure that Perlmonks is the best place for that though, some thoughts?

In reply to RE: Perl as a first language by the_slycer
in thread Perl as a first language by Anonymous Monk

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (9)
    As of 2014-09-30 20:06 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (383 votes), past polls