Hi Jörg,

>> Temporary files are implicitly closed when 'you launch another
program
>> from within your script', to quote the Camel Book - and with the
plugin
>> architecture of Ax2, this seems to be the case. So even though I've
>> tried modifying server_file to accept a filehandle instead of a
>> filename, the filehandle of my temporary file is closed when it
reaches
>> server_file.

> AxKit2 doesn't call any external processes. Plugins _are_ plain perl

> modules, with a regular package nanme and everything -- we just hide

> the verbosity from you. There must be a different reason why you see
> that behaviour.

That sounds reliefing. Well, I'll have to do further investigation
then.

>> And handing a memory image to server_file means even heavier
>> modification.

> 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'll try that right away - and appologize for not beeing such a Perl
guru as you folks ;-)

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]

Reply via email to