|
Hi i am very new to perl. I want to login to a remote machine and check a filesystem has been mounted or not.
$t = new Net::Telnet();
$t->open("morph");
$t->login($username, $passwd);
# this is the error part
if (-d $filesystem) {print "ready to go";}
$t->close();
Pls help me.
|