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

Re: using rsh command in perl

by tachyon (Chancellor)
on Dec 22, 2001 at 21:11 UTC ( #133974=note: print w/ replies, xml ) Need Help??


in reply to using rsh command in perl

Sadly requests from Anonymous Monk for personalised replies to me@home.com tend not to meet with enthusiastic responses. Perl can do all of what you want and more. To execute a command line command in perl you just enclose it in back ticks like this:

my $output = `rsh blah blah`;

The output of the command is caught by $output. For info on loops see tutorials

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


Comment on Re: using rsh command in perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-07-05 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls