Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Pipe Question

by sachmet (Scribe)
on Apr 26, 2001 at 00:26 UTC ( [id://75606]=note: print w/replies, xml ) Need Help??


in reply to Re: Pipe Question
in thread Pipe Question

It shouldn't, unless you're writing to P. See my response below.

What you're probably seeing is from.pl writing to stdout, and you're not getting a count of 4 underneath the words.

Replies are listed 'Best First'.
Re: Re: Re: Pipe Question
by sutch (Curate) on Apr 26, 2001 at 00:39 UTC
    You're correct about the placement of the pipe (and not getting a count without its correct placement).

    But on my system this works:

    open (P, "./from.pl |");

    and this does not work:

    open (P, "from.pl |");

    From the shell I must always specify a script's path, unless the path is defined in PATH.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://75606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found