Josà AUGUSTE-ETIENNE wrote:
Le mar 17/02/2004 Ã 22:14, Stas Bekman a Ãcrit :

De : Stas Bekman <[EMAIL PROTECTED]> le 17/02/2004 17:14 PST

I'm trying to resolve this problem (the second part of the email where the
failure of  mod_perl-1.99_12/t/response/TestModperl/request_rec_tie_api.pm
is
discussed:
http://marc.theaimsgroup.com/?l=apache-modperl&m=107570575120884&w=2

Apparently, on some AIX and FreeBSD setups we get:

  fileno(STDOUT) == 1; # under perl
  fileno(STDOUT) == 0; # under mp2/tied STDOUT

so I want to know what happens under mp1. Can someone on AIX and freebsd
please run a simple test under mp1, to print: fileno 'STDOUT' from a
registry
script or a handler? Thanks.

print "Content-type: text/plain\n\n";
print "fileno(STDOUT): ", fileno(STDOUT);



Hi,

I only read this post today

OS :            aix 4.3.3.10
perl :          v5.6.1
mod_perl :      1.29
apache :        1.3.27
HTML::MASON :   1.23

in a Mason component

fileno(STDOUT): <% fileno(STDOUT) %>

gave me

fileno(STDOUT): 1

Hope this helps

Thank you, Jose! I suppose Mason doesn't mess with STDOUT.


It's still unclear to me, why on certain platforms/perl versions a tied STDOUT returns 0 instead of 1.

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

--
Report problems: 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



Reply via email to