I don't take your comments as rude in the slightest.
But when some poor schmuck is stuck on a server (for reasons which may not be easily altered) which does not have CGI.pm (for god knows why) perhaps something better than "give up and go hunting for a new ISP" would be useful.

His problem is relatively straight forward. It's not like he's trying to do file uploads. Capturing a few variables, parsing them, etc.

Is it better to use CGI? You bet your sweet behind.
Are there situations in which CGI just doesn't exist? Apparently.
Should it be possible to at least limp along in those situations? I think it should.

When a module exists that performs some function, and that module is so standard that it's part of the basic Perl install, it's a good idea to use the module.

But when someone clearly indicates that given their situation the module is not available, perhaps an alternative to 'move' would be useful. That's my only point.

And since I was there and did manage to make it work until such time as I was able to move to a better server I felt perhaps a little "You can get by" encouragement might be better than 100% give up and move.

Is it better to use CGI? You bet. But when you can't for whatever reason life still goes on and it is still possible to get some work done.

Claude


In reply to Re: (Ovid - why not CGI.pm?) Re(2): text file w/o CGI by Xxaxx
in thread text file w/o CGI by spunkcell

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.