Skip Menu |

This queue is for tickets about the Net-Telnet CPAN distribution.

Report information
The Basics
Id: 81338
Status: rejected
Priority: 0/
Queue: Net-Telnet

Owner: Nobody in particular
Requestors: maorui2k [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: customized login prompt
Download (untitled) / with headers
text/plain 488b
I have a Dell ethernet switch. The login is different from others. Instead of login: or username:, it displays 'User:'. Net::Telnet cannot match it in login function. I suggest adding a new function called login_param (or something else you like :) ) like this: login_param ( Login_prompt => '/User[: ]*$/i', Password_prompt => '/password/i'); If either is set before login, the login function will also match these user specified string. This would give Net::Telnet more compatibility.
Download (untitled) / with headers
text/plain 277b
Sorry but login() is only meant to handle the general case. There are just too many different ways to login. As the Net::Telnet documentation says: Use a combination of C<print()> and C<waitfor()> as an alternative to C<login()> or C<cmd()> when they don't do what you want.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to