What OS are the target and originating machines?
-----Original Message-----
From: Simon K. Chan
To: Beginning Perl
Sent: 5/10/02 10:41 PM
Subject: running system command on another host
Hi All,
I've never tried something like this before, so
my apologies if it's "easy"
We all know about the system command:
my $program = "some_script.pl";
system("perl",$program);
This would execute the program some_script.pl
on the current host.
But what if I wanted to run a script on
another host? Should I create a socket?
use IO::Socket;
my $socket = IO::Socket::INET->new(PeerAddr => "$remote_host",
etc.
I'm trying to run a BLAST program on the
other machine.
Many thanks all :-)
Simon
=====
#########################################
Warmest Regards,
Simon K. Chan - [EMAIL PROTECTED]
"Great spirits have always encountered violent opposition from mediocre
minds." - Albert Einstein
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]