in reply to Re^2: Telnet Issue
in thread Telnet Issue
As ssandy pointed out in greater detail, this is simply not going to do what you would like it to.
If you want to script a telnet session, `telnet` isn't going to get you there; you're going to have to find another approach (such as Net::Telnet).$telnet = `telnet $hostname `; $telnet -> waitfor('/Username: $/i');
Perhaps you might want to tell us more about why you decided NOT to use Net::Telnet. Perhaps someone here can help you get it to do what you need.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Telnet Issue
by jag (Initiate) on Sep 04, 2009 at 08:41 UTC |
In Section
Seekers of Perl Wisdom