I need to dup the STDOUT handle for a package
(Spreadsheet::WriteExcel) to work properly under
mod_perl.
The code below from the MP1 User documentation now
gives an error in MP2:
use constant IS_MODPERL => $ENV{MOD_PERL};
if (IS_MODPERL) {
tie *OUT, 'Apache';
} else {
open (OUT, ">-");
}
Under MP2 I get the following error: Can't locate
object method "TIEHANDLE" via package "Apache"
Is there an updated method for doing this in MP2?
My environment is : mod_perl/1.99_05-dev, Apache
httpd-2.0.40-8, RedHat 8.0
Thanks, Tom
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com