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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mouse role fails
by tobyink (Canon) on Nov 02, 2012 at 14:45 UTC | |
by karlgoethebier (Abbot) on Nov 04, 2012 at 19:19 UTC | |
by tobyink (Canon) on Nov 04, 2012 at 19:45 UTC | |
by karlgoethebier (Abbot) on Nov 04, 2012 at 21:36 UTC | |
|
Re^3: Mouse role fails
by VinsWorldcom (Prior) on Nov 02, 2012 at 15:15 UTC | |
by tobyink (Canon) on Nov 02, 2012 at 20:26 UTC | |
by Anonymous Monk on Nov 04, 2012 at 18:39 UTC | |
|
Re^3: Mouse role fails
by tobyink (Canon) on Nov 02, 2012 at 14:44 UTC |