in reply to Telnet Issue
Could you please repost your code surrounded with <code> tags?
It looks like you are doing
If I read your code correctly, $telnet is the data returned from the telnet command. But you are then using it as if it were a Net::Telnet object.$telnet = `telnet $hostname`; $output = $telnet->waitfor('/\$ $/i');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Telnet Issue
by jag (Initiate) on Sep 03, 2009 at 18:33 UTC | |
by ramlight (Friar) on Sep 03, 2009 at 19:49 UTC | |
by jag (Initiate) on Sep 04, 2009 at 08:41 UTC |
In Section
Seekers of Perl Wisdom