"Dan Sugalski" <[EMAIL PROTECTED]> wrote:
> On Mon, 7 Jun 2004, Leopold Toetsch wrote:
>
> > Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> > > * there is no opcode to use it, e.g.:
> >
> > >    Pio = backtick Scmd, Pargv, Iflags
> >
> > I've now integrated that into the C<open> opcode:
> >
> >   .local pmc pipe
> >   pipe = open "/bin/cat -n", "|-"
> >
> >   # or
> >
> >   pipe = open "/bin/ls -l", "-|"
> >
> > There is still no good way to pass arguments to commands - currently the
> > given command gets split at spaces, which is of course broken with
> > respect to quoted args.
>
> Then lets add:
>
>    backtick Pfilehandle, Scommand, Imode
>    backtick Pfilehandle, Scommand, Imode, Pargarray
>
> to the ops list.
Might there be a better name for this op?  I know backtick isn't just
Perl-ish; it's used in UNIX shells too.  But for someone from a non-UNIX,
non-Perl background, backtick may not mean a lot.  That said, I'm not sure I
can think of a metter name.

Jonathan


Reply via email to