![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re^2: Check if home dir is mounted?by Anonymous Monk |
on Apr 11, 2007 at 14:16 UTC ( #609370=note: print w/replies, xml ) | Need Help?? |
Hi,
Thanks for the replies. Previously, the last line of my code was this:-
$Launch = system ("rsh $BestHost");
...where $BestHost was derived earlier. Now, however, I am just going to do this:-
$Launch = system ("rsh $BestHost \"cd ~$user\"");
...and if I detect a "not found", I will move to the next best machine name.
Thanks for all the replies!
Kind Regards, Kehliah
In Section
Seekers of Perl Wisdom
|
|