Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by vinoth.ree (Vicar)
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 pondering the Monastery: (6)
As of 2014-04-20 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls