There's more than one way to do things | |
PerlMonks |
Re: How to close a telnet connection when using strictby Jonathan (Curate) |
on Jul 15, 2004 at 09:32 UTC ( [id://374582]=note: print w/replies, xml ) | Need Help?? |
$pro is defined in your code snippet and would resolve to a Net::Telnet object reference in your telnetDisconnect call. It looks to me like $pro gets overwritten in some of the code you've removed while creating your test case above. Check your code for incorrect $pro assignments.
In Section
Seekers of Perl Wisdom
|
|