Subject: | Problem with IO::Handle when using Net::Telnet |
Date: | Mon, 23 Aug 2010 16:13:54 +0000 |
To: | "bugs-Net-Telnet [...] rt.cpan.org" <bugs-Net-Telnet [...] rt.cpan.org> |
From: | "Dziurgot, Zbigniew" <zbigniew.dziurgot [...] hp.com> |
Hi,
On Perl 5.10.1, using Net::Telnet 3.03 I have encountered the following problem:
The code:
perl -MIO::Handle -wle 'use Net::Telnet; open( $x, ">>", "Test.txt"); $x->autoflush(1)'
produces following error:
Can't locate object method "autoflush" via package "FileHandle" at -e line 1.
All works fine if I do not load the Net::Telnet module.
Hope that helps,
Zbig