Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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.

Thanks

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="/index.pl?node=st&lastnode_id=3333">st< +/A>)/'\$1/mg"


Comment on Re: Re: How to dup $FOO to STDIN
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2015-07-03 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls