Nikola Janceski <[EMAIL PROTECTED]> wrote:
>>
>> is there a way to use the PROGRAM LIST format for backticks 
>> or open the same way you can for exec and system?
>
> I have found one work around, but I was hoping there would be 
> some other way..
> 
> perhaps this suggestion can make it into Perl 6?
> 
> current work around:
> perldoc perlipc
> search for "execute something without the shell's interference"

If you're talking about the 5.8 perlipc, then that's the only way
to do it, AFAIK.  

But in case you haven't seen this yet, it's at least nicer than
the old work-around:

  require 5.008;
  sub my_readpipe {
    open my $fh, '-|', @_;
    <$fh>
  }

-- 
Steve

perldoc -qa.j | perl -lpe '($_)=m("(.*)")'

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to