What I was asking wasn't a Perl question - it was CGI/design question

Many of this can be solved by widening your horizon, as some have already said. One way of doing that is using other programming languages, but every time I do that, I only get annoyed by the other language and wish it was more like Perl. My way of seeing things apart from each other is reading specifications.

Let's take CGI programming for example. We use http, so let's skim over its specification (rfc2068) and see what happens. In the abstract, it states that http is stateless. So we know our CGI script won't be running forever, but will handle only one request. It also mentiones headers, which is important: apparently headers are not a CGI-specific thing. So let's see what CGI is then. Using its specification, of course. It says some things about standard input and output, but Perl is never mentioned. Hey, CGI is not Perl-specific!

Reading non-Perl documentation is often a good way to know that some issue is not a Perl issue. When googling for information, try "-perl" to refuse all documents with "perl" in it, and see the other approaches.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.


In reply to Re: don't { use Perl } by Juerd
in thread don't { use Perl } by erikharrison

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.