Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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:
  • making a program that isn't meant to be ported
  • making a simple program that really needn't rely on complex operations, and therefore complex modules
  • making a mistake somewhere
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":



  • 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found