It sounds like you're making good progress. You're definitely thinking in a healthy way about it (there are a lot of people out there who swear they'll 'never' use certain methods - then do).

I've done things in a similar way to you. My code when I started was horrific. It was like BASIC programming. Everything was done in tiny steps, tons of lines, no use of map or grep, if statements everywhere, no OO. I've been coding in Perl for 8 years now and it's only in the last few that I've mastered OO, the templating systems, and most of the idioms.

I don't think you can rush all this. Of course, you could go a lot faster than I did (Perl wasn't my job for the first 4 years or so - just hacking together bits for my Web sites etc), but I don't think you should make giant leaps in multiple areas at the same time. Getting up to using databases is a great step, and now you can focus on the next one.

Your strength with OO will come, in time, and you'll see new situations where it is highly useful. Of course, there are many cases where you won't want to use it, and quite rightly so :-) Just keep hacking, I say! Good luck!


In reply to Re: On reflections by petercooper
in thread On reflections by kiat

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!
  • 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, details, 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, summary, 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.