Skip Menu |

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

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

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

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

Subject: $t->open() should die if already opened
Download (untitled) / with headers
text/plain 431b
"$t->open;" should die if the connection is already opened. Here is a trap where that error should be triggered: my $t = Net::Telnet->new(Host => '127.1'); $t->open; ->new already opened the connection (but this is not documented), and ->open does it again but this is a problem with Telnet servers that support only one connection at a time. -- Olivier Mengué -
Download (untitled) / with headers
text/plain 208b
Changing open() to die when the object is already open will break existing user code. I updated the documentation to indicate open() closes the object before connecting. Thanks for submitting this problem.

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

Please report any issues with to