Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: Setting up Perl/CGI with Windows

by strat (Canon)
on Mar 11, 2004 at 09:27 UTC ( #335750=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Setting up Perl/CGI with Windows
in thread Setting up Perl/CGI with Windows

Either you don't send a content-type, or you don't send it as the first output. Does the following code work?
#! /usr/bin/perl use warnings; use strict; use CGI; use CGI::Carp qw(fatalsToBrowser warningsToBrowser); my $cgi = CGI->new(); print $cgi->header(), $cgi->start_html('Testpage'); print $cgi->h1('Testpage'); print $cgi->end_html();

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://335750]
help
Chatterbox?
Discipulus is a lazy sysadmin but not lazy as marto coworkers..
[marto]: the sysadmins are actually a different 3rd party company
[Discipulus]: oh yes, outsurcing.. i remember: not as lazy as marto outsourced ones..

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2017-01-24 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (204 votes). Check out past polls.