What he was looking to do (and really, much of what those of us new to Perl are trying to do) didn't look to be too hard without the module.

If you were soliciting estimates to build a house, would you trust the estimate of someone who's never built a house before over the estimate of someone with ten years of experience?

I understand that modules certainly have their place. No doubt in my mind, but isn't it also fair (when doing something like this that is fairly simple) to try and figure it out on one's own?

That depends on a lot of factors. If you want to solve a simple problem, is it better to learn how to solve that problem, or how your operating system works, how a programming language works, the ins and outs of the XML specification, and everything that other people have already built for you?

It's definitely good to know all those other things and it's important to learn them, but is it really the best use of your time to rebuild and discover everything when you have the least amount of experience and knowledge and, likely, the greatest practical desire just to get something working?

Take the lesson of Matt's Script Archive; the programs there exhibit absolutely the least amount of knowledge necessary to build their own components, and they've lead to countless security holes. I've never met a beginning programmer who studied RFCs and specifications in detail before starting to code an already-solved problem, and I never expect to. (More often, I find that people who say "I learn better coding it myself!" severely resist learning, especially from the experience of others. I don't mean to imply that you're in this group, but merely that this group exists.)


In reply to Re^5: Help in manipulating values from two arrays by chromatic
in thread Help in manipulating values from two arrays by rsriram

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.