What it does now (in the version I sent out this AM) is to check whether the filehandle is STDIN. If not, it reverts to the old code. Otherwise it uses yours. Sound OK to you?
No, this doesn't work:
$fh eq \*STDIN
because it can be:
GLOB(0x86af9d8) main::STDIN STDIN
the last two are easy, but the first one can be absolutely anything. Give me a few secs to come up with something working.
I also now noticed this:
$boundary = <$IN>; # BUG: This won't work correctly under mod_perl
Looks like we need to provide readline() API, right?
__________________________________________________________________ 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
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html