perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: GIF contents not "coming out"
Date Sat, 24 Jan 2004 02:25:43 GMT
Chris Drake wrote:
> Hi All,
> My mod_perl 2 script is not sending back the contents of the GIF I'm
> trying to print.  Running it locally, it does, or if I go:-
> print "foo";
> ... I get "foo" - but when I print the GIF - I just get back the
> headers without any content!!!

Please read on how we like problems to be reported:

Make sure to include the relevant config section (is it 'perl-script' or 
'modperl' SetHandler?)

Also any difference if you remove 'use bytes'?

Also this is much more efficient way to read/print a multiline file:

     local $/;

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

Reporting bugs:
Mail list info:
List etiquette:

View raw message