Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: help in opening file with pipe

by mickeyn (Priest)
on Feb 09, 2006 at 15:05 UTC ( #529103=note: print w/replies, xml ) Need Help??


in reply to help in opening file with pipe

You're missing 'cat' before the file name (or 'type' if you're running on Windows).

open(handle,"type d:/help.txt |");
The pipe as you wrote it doesn't get anything in its STDIN.

Enjoy,
Mickey

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://529103]
help
Chatterbox?
[Discipulus]: was global var or global war?!?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-04-29 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.