Subject: | IO::All::tie problem |
Date: | Sun, 22 Oct 2006 01:28:53 +0400 |
To: | bug-IO-All [...] rt.cpan.org |
From: | Alexey Agafonov <lucir [...] ok.ru> |
Hello,
There is the problem:
1.ENVIRONMENT:
MS Windows XP SP2
ActivePerl 5.8.8 (build 819)
IO-All 0.36
2.TEST PROGRAM:
use strict;
use IO::All;
my $out = io('_foo2.txt')->tie;
print $out 'foo';
3. OUTPUT:
Can't find a class for method 'PRINT' at io_all_print.pl line 4
I've tried to fix the problem myself, but perl environment seem to be
too complicated for poor-minded C++ programmer. ;)
There is something strange with IO::All::AUTOLOAD.
The object passed isa('IO::All::File'), isa('IO::All'), can('print'),
can('PRINT')... yet the PRINT method is not found.
$out->print('foo') works.
Sincerely,
Alexey Agafonov