Subject: | How to force disconnect (after failed login perhaps) |
Date: | Thu, 13 Nov 2014 17:09:37 -0600 |
To: | bug-Net-Appliance-Session [...] rt.cpan.org |
From: | Scott Bertilson <ssb [...] umn.edu> |
I am having a problem when an incorrect password is entered in that an eval
that begins with a session->connect exits as a result of the die "login
failed to remote host - prompt does not match", but then the process hangs
when I issue a session->close because NAP sends "exit" which isn't a
correct response to the "Username" prompt.
Is there anything more elegant to do other than just trashing the session
variable to drop the session?
Thanks, Scott