Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: system commands

by socketdave (Curate)
on Sep 15, 2005 at 16:09 UTC ( #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
Node Status?
node history
Node Type: note [id://492308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2016-07-25 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (224 votes). Check out past polls.