I installed anyway, and using the sample upload code from perldoc Embperl found that a file of zero size was created, and debug messages told me I was trying to 'read() on closed filehandle'.
This was on a Debian sarge box, with Apache-1.3.29, and mod_perl-1.29 and perl-5.8.3, all compiled from source, not using debian packages. I tried using previous versions of Emperl-2.0b9, mod_perl-1.28, and apache-1.3.28 - all gave the same failure.
I tried testing on a NetBSD 1.6.1 box with Apache-1.3.28, Embperl-2.0b10, mod_perl-1.29, and perl-5.8.2. I had success with all tests for Embperl, and the same code mentioned above for upload worked.
One main difference I could find between the two installations was the version of CGI.pm installed. It was 3.00 on the NetBSD box, and 3.04 on the Linux box.
After installing the older 3.00 version of CGI onto the linux box, and recompiling Embperl, all tests were successful, and the upload code worked.
I appears that upload_hook was introduced in CGI 3.01.
Should I be changing my code to account for this, or is there a bug in Embperl?
Regards
Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]