On Tue, 30 Jan 2001, David Harris wrote:
>
> > Looks like I can get a lot closer with Pod::Text, the sad thing is that
> > Pod::Text can't read from anything but a file. *sigh*
>
> That's what /proc/self/fd/0 in Linux is for. :-)
>
> $ ps | cat /proc/self/fd/0
> PID TTY TIME CMD
> 16085 pts/6 00:00:00 bash
> 18434 pts/6 00:00:00 ps
> 18435 pts/6 00:00:00 cat
>
> This works as long as the reader does not need to seek in the file, which I
> doubt will be a problem if a perl module is doing the reading.
>
> You'll probably need to have Tod::Text run in a different process, but at
> least you can now have it as part of a pipe.
This is no help as I would have to fork to use this (if I'm reading it
properly). I'd rather write to a locked file... :)
--
<Matt/>
/|| ** Director and CTO **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** Personal Web Site: http://sergeant.org/ **
\\//
//\\
// \\