Hi Jörg, > Actually not -- according to 'perldoc -f open', passing a reference to a > scalar instead of a file name will make perl >= 5.8.0 read data from that > scalar. $hd->filename(\$content) might do the trick.
I've now done a little further testing: * My data seems to be OK - I've tried dumping my variable to a file, and that reveals a nice .png as expected. * 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. * It does see the file, though, the standard logmessage says: 10.0.16.50:1314 L6 serve_file response Serving file: SCALAR(0x8ff10b0) * I'm running Perl 5.8.8 Regards, Lars -- Lars Skjærlund Consultant Ubiquitech A/S Lyngby Hovedgade 4,3 2800 Kgs. Lyngby Denmark Tel: +4570200084 Mobile: +4523457157 http://www.ubiquitech.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]