On Sunday, 17. September 2006 09:44, Lars Skjærlund wrote: > * But passing it on as you suggested, $hd->filename(\$document), > serve_file won't open it. I've added several LOGDEBUGs to serve_file, > and it is the open that fails.
Can you try modifying the "open" call to use the three-argument form, i.e "open($fh,'<',$filename)"? Another check would be to see if $filename is still a reference (print the value of "ref($filename)", it should be "SCALAR". -- CU Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]