Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://133974]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-09-22 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (261 votes). Check out past polls.

    Notices?