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

Re: how to smoke from a fifo pipe

by halfcountplus (Hermit)
on Oct 02, 2010 at 13:24 UTC ( [id://863069]=note: print w/replies, xml ) Need Help??


in reply to how to smoke from a fifo pipe

You open and read from the fifo just like any other file. If you are writing to a fifo, you probably want to use autoflush:

use IO::Handle; open (FIFO, ">>fifo") || die; FIFO->autoflush(1);

This presumes a named pipe "fifo" already exists in the same directory.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found