Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: system commands

by socketdave (Curate)
on Sep 15, 2005 at 16:09 UTC ( [id://492308]=note: print w/replies, xml ) Need Help??


in reply to system commands

You can open a handle to a pipe, then print to the handle (*nix type example, but you get the idea):

open(PIPE, '| /bin/cat') or die "Could not open PIPE\n"; print PIPE "test123\n"; print PIPE "test456\n"; close PIPE or die "Could not close PIPE\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found