On Thu, Aug 03, 2000 at 06:27:13AM -0600, Tom Christiansen wrote:
> >It seems that this issue is definitely worth a quick RFC - something
> >like "proposal to return filehandles from open/opendir rather than supply
> >as arguments". 
> 
> What about the pids that come back from begotten processes, as in 
> 
>     open(FILTER, "| cat -v | sort | lpr")
> or
>     open(MESELF, "|-")

The suggestion was the open() return a filehandle object, so may
I suggest

   $fh = open("| cat -v | sort | lpr") or die ....;
   $pid = $fh->pid;

Graham.

Reply via email to