Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to print the contents of system function to a .txt file

by vinoth.ree (Parson)
on Mar 12, 2013 at 04:37 UTC ( #1022920=note: print w/ replies, xml ) Need Help??


in reply to How to print the contents of system function to a .txt file

Simple one

use strict; use warnings; use autodie; open (my $file, '>', 'result.txt'); print $file `java -jar cmdline-jmxclient-0.10.3.jar - localhost:1100 c +om.ogs.red5.client.manager:name=Manager getConnectedAgents`;


Comment on Re: How to print the contents of system function to a .txt file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-11-28 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (192 votes), past polls