Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

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


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 22: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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-08-17 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?