Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Premature end of script headers (i know, i know...)

by OM_Zen (Scribe)
on Mar 05, 2003 at 16:40 UTC ( #240617=note: print w/replies, xml ) Need Help??


in reply to Premature end of script headers (i know, i know...)

Hi ,

The print header; has something to do with writing to the STDOUT and using print FILEHANDLE ""; is something you do not to the STDOUT . Check for the file open status with some Carp(FatalsToBrowser) or through commandline execution
use CGI::Carp 'fatalsToBrowser'; open (FH , ">$data) || die "The file is not opened for processing + : $!";


The Carp method directs the errors to the webpage or just try running it through commandline option like showtheerrors.cgi NAME=VALUE but the Carp is a better way to do

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240617]
help
Chatterbox?
[Discipulus]: it works anyway, good morning choroba
[Discipulus]: choroba i'm considering to add some connection checking to your CB tk program: something like..
[Discipulus]: i got also a parser error, but once
[KurtZ]: Code Tags
[KurtZ]: ?
[choroba]: <code>...</code>

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-07-24 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (348 votes). Check out past polls.