Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Making a perl program look like a regular file on Win32?

by matija (Priest)
on Mar 03, 2004 at 12:03 UTC ( [id://333517]=note: print w/replies, xml ) Need Help??


in reply to Making a perl program look like a regular file on Win32?

Well, under Unix you would do this with a named pipe, but I had no idea if named pipes even existed under Windows.

So I ran a google search, and I came up with description of activestate Win32::Pipe module.

Looks to me like it's just what you're looking for.

The way it would work is that you run the perl script, which will open a pipe with the name that is then passed to the DOS program just as if it were a normal file.

  • Comment on Re: Making a perl program look like a regular file on Win32?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found