in reply to Re: Mouse role fails
in thread Mouse role fails
Hi, this code fails with Active State Perl and Strawberry but is OK on a linux box:
use IO::File; use Data::Dumper; my $fh = IO::File->new(); $fh->open(shift); my @lines = $fh->getlines(); undef $fh; print Dumper (@lines);
Perl versions:
Strawberry: This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x86-multi-thread
Active State: This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread
Linux Box Perl: This is perl, v5.8.8 built for x86_64-linux-thread-multi
It seems that the role didn't fail but IO::File/IO::Handle does(same errors), as you assumed.
Regards and thank you, Karl
In Section
Seekers of Perl Wisdom