perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
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: http://perl.apache.org/bugs/

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 $/;
     $::r->print(<GIF>);

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message