You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2001/12/04 20:15:37 UTC

Re: porting Apache::File issues

On Thu, 29 Nov 2001, Stas Bekman wrote:

> BTW, from perl571delta.pod:
> 
> <Quote>
> Anonymous temporary files are available without need to
> 'use FileHandle' or other module via
> 
>     open($fh,"+>", undef) || ...
> 
> That is a literal undef, not an undefined value.
> </Quote>

nice.  but that doesn't give you a filename like Apache::File->tmpfile
does, so we'd still need the old code for Apache::compat.

p.s.
plan to commit that patch soon?  a friend at work is trying to get
Apache::MP3 working with 2.0 and needs the Apache::File compat.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: porting Apache::File issues

Posted by Doug MacEachern <do...@covalent.net>.
On Wed, 5 Dec 2001, Stas Bekman wrote:
 
> why do you want to know the filename?

it doesn't matter why, that is what the 1.x api supports.
i don't remember in detail, lincoln wrote the original routine, it is used
in some eagle book examples.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: porting Apache::File issues

Posted by Stas Bekman <st...@stason.org>.
Doug MacEachern wrote:

> On Thu, 29 Nov 2001, Stas Bekman wrote:
> 
> 
>>BTW, from perl571delta.pod:
>>
>><Quote>
>>Anonymous temporary files are available without need to
>>'use FileHandle' or other module via
>>
>>    open($fh,"+>", undef) || ...
>>
>>That is a literal undef, not an undefined value.
>></Quote>
>>
> 
> nice.  but that doesn't give you a filename like Apache::File->tmpfile
> does, so we'd still need the old code for Apache::compat.


why do you want to know the filename?

 
> p.s.
> plan to commit that patch soon?  a friend at work is trying to get
> Apache::MP3 working with 2.0 and needs the Apache::File compat.

yup, hopefully today


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org