Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 scrutinizing the Monastery: (12)
As of 2016-08-25 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (362 votes). Check out past polls.