Bill wrote:
> You could try adding this to the front of your code:
>
>BEGIN { use CGI::Carp qw(fatalsToBrowser); }
>
>I would move the
> print "Content-Type: text/html\n\n";
>to that begin block also to make sure it gets out before anything else.
>
>Try making a smaller hello world script that fails and post it to make
>sure it's not a server misconfig problem. Your current script is too
>big to mess with and doesn't have strict or warnings turned on.
Thanks Bill, brilliant move to have a BEGIN block to send out the content
type. Why are solutions so simple that I don't think of them myself. I
manage to get some neat errors messages now that indicate that a module
called misbehaves. I know which module it is but it's not called in the
script and why it only misbehaves in Mozilla is strange so I have some more
puzzling to do.
Yeah and I know my script is messy and complex (it contains a 4-dimensional
internal data set) and it does not require the standards for neat
programming. Sorry 'bout that - it's 6 years old and I never learned since.
:-/
Thanks Bill for your help.
--
Koen Kamphuys
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs