Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Re: How to dup $FOO to STDIN

by belg4mit (Prior)
on Nov 15, 2001 at 20:30 UTC ( #125606=note: print w/ replies, xml ) Need Help??

in reply to Re: How to dup $FOO to STDIN
in thread How to dup $FOO to STDIN

#1 doesn't meet the criterion of duping a scalar filehandle (which I need because this is hapenning in parallel forks).

#2 Works!

#3 I had looked at perlipc but found nothing for dupping STDIN or scalar filehandles.


PS> "shouldn't not use caps" so I should then? ;-) Yeah wog has gotten on me about that too. I've cut back, but am still using for "globals" or effectively just scalar filehandles, so they lok like regular filehandles.

-- perl -p -e "s/(?:\w);(<A HREF="/">st< +/A>)/'\$1/mg"

Comment on Re: Re: How to dup $FOO to STDIN
Download Code
Replies are listed 'Best First'.
Re:{3} How to dup $FOO to STDIN
by jeroenes (Priest) on Nov 15, 2001 at 20:39 UTC
    Already figured you wanted to do something with childs or the like, that's why I added the ipc stuff. It actually describes named pipes, and the use of open for ipc.

    On the caps: :-) && You shouldn't. Fileglobs are in caps because they are really special. Filehandles are less magical.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-10-04 18:08 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (104 votes), past polls