Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: perl + CGI's

by hiseldl (Priest)
on Dec 13, 2002 at 15:44 UTC ( #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? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-05-24 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?