Hi,
I've got a problem with the following code...
my @hosts=qw( lunar solar venus mars saturn pluto );
foreach (\@hosts) {
system("/usr/bin/ssh @hosts $ARGV[0]");
}
....
What I'm wanting to do is call foo.pl uname (for example) and have the script ssh host
uname for each host defined in the @hosts array. What's currently happening is that
it does ssh lunar solar and dies trying to execute the next @hosts as the ssh commend.
Any ideas?
dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]