I use modules often. I rarely use a module I don't understand, though. Hey, it got me to learn a lot about sockets -- I realized the LWP bundle would do the job of the socket nonsense, but I wanted to make sure I knew what that nonsense was. If you think you can make a portable program without using modules, you're doing one of the following: That doesn't mean you can't make something better than a module that is out there already -- but it's not likely. It is more than easy to write a crummy CGI query parser that "gets the job done" when the job consists of reading the query string from a GET query. But then you might need to add support for POST, and then come file uploads. And you probably didn't read the RFC on how query strings can be formatted. It's also easy to do a crummy job of parsing HTML tags.

If I seem condescending or rude, I apologize, but I've had to argue my point several times. Not using a module because it's not in the standard distribution is no excuse -- if a sysadmin is not competent enough to install a Perl module, then they don't know how to use gzip, tar, and make. That is very sad. Or, if they are stingy, and won't do it, you can install the module in a local directory.

There's a reason there are so many modules. There's a reason they come with their source and documentation.

In reply to Re: Use of Modules by japhy
in thread Use of Modules by Kozz

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.