Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Errors in my (simple?) CGI Script!

by gellyfish (Monsignor)
on Mar 09, 2002 at 17:04 UTC ( [id://150623]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Errors in my (simple?) CGI Script!
in thread Errors in my (simple?) CGI Script!

For one thing is less typing :) Also more recent versions of CGI.pm will print a header like :

Content-Type: text/html; charset=ISO-8859-1
which is recommended in a CERT Advisory ... this is one of the advantages of using a module, they often get quietly updated like this long before the information that gave rise to the update has been as widely propagated.

/J\

Replies are listed 'Best First'.
Re: Re: Re: Re: Errors in my (simple?) CGI Script!
by Dog and Pony (Priest) on Mar 09, 2002 at 17:10 UTC
    Technically, CGI.pm also is cross-platform, that is, it uses the correct CRLF (newline) sequence that is needed for the browser to parse them, on all platforms. As many have pointed out, this is usually a non-issue, as most (modern) web servers correct such things on the fly, before sending the response, but it doesn't hurt in case someone, for some reason, would run your program under one that doesn't. :)
    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150623]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.