You should be able to use the Net::Telnet module to connect and do anything that a regular telnet session can do.  You also say that you need to stay connected continuously for 3 minutes.  Is that how long it takes to run a process or something?  Because the Telnet module shouldn't automatically disconnect you.  However, your Telnet server might have a low timeout and in that case you might want to periodically in that 3 minutes do a listing or something to keep the connection active.

Matt Schneider
Programmer/System Administrator
SKLD Information Services, LLC

-----Original Message-----
From: Shafi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 12:23 PM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Query on writing perl script to telnet to a HP m/c remotely

Hi Guys,
 
I am trying to write a perl script which can telnet to a HP m/c continously for a period of 3 mins. Could someone help me out in this.
 
Thanks a lot in advance.
 
Regards,
Shafi
 

Reply via email to