in reply to Problems printing to browser

In addition to tachyon, who found the problem (++),a note on diagnostics for the future:

Put 'use strict;' and 'use warnings;' somewhere in the first few lines of your code. Then run your script on the commandline, CGI.pm allows you to specify CGI parameters as commandline options. This way, you're able to use the debugger.

That method would have alerted you this error. However, if something works on the commandline but not via CGI, see you server's errorlog and consider using CGI::Carp.

--
http://fruiture.de

Replies are listed 'Best First'.
Re: Re: Problems printing to browser
by sulfericacid (Deacon) on Nov 29, 2002 at 11:34 UTC
    I am using strict actually, I just didn't post the top part of my script. I am also using -w :) and it still never showed anything, which is really odd.

    Thanks

    sulfericacid

      Then have a look into the error log og your server.

      --
      http://fruiture.de