Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: perl + CGI's

by hiseldl (Priest)
on Dec 13, 2002 at 15:44 UTC ( [id://219609]=note: print w/replies, xml ) Need Help??


in reply to perl + CGI's

You need to print a header first.

use CGI; my $q = CGI->new(); print $q->header(); [insert your code here]

The header tells the browser what type of content to expect, and without it, it gets confused.

--
hiseldl
What time is it? It's Camel Time!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://219609]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-23 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found