I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-07-16 22:27:46.938542-07 by pp133 in response to 12820
Re: doubts in using Net::Telnet
Hey there, I don't think you can just run that `if(-d $filesystem)...` bit once you've telnet'd into the server, you're going to have to send the command through the telnet object.

Let's say you want to see if /mnt/blah exists, you can run something like this:

@lines = $t->cmd( 'ls /mnt/blah' );


Then go through @lines in search of something that shows you whether or not this file system has been mounted.

I'm pretty new to this module myself, so I'm sorry I can't be more specific/of more help.

Good luck.
Direct Responses: Write a response