Subject: | Fails with perl 5.8.{8,9} |
As per subject.
Example fail report:
http://www.cpantesters.org/cpan/report/3879bac0-a2c1-11e0-80ee-1922e1de4735
Fails with
Error: Modification of a read-only value attempted at
/home/david/cpantesting/perl-5.8.9/.cpan/build/PNI-0.15-PZHjR2/blib/lib/PNI/Finder.pm
line 13.
The line 13 contains:
13 $self = bless \__PACKAGE__, __PACKAGE__;^M
Indeed this construct was not supported in 5.8. What does it do that
would be better than
bless \my $v, __PACKAGE__
?
I tried to change the file to the latter and all tests pass, so I think
this may be a cheao fix to make this code compatible with perl 5.8 again.
What do you think?
Thanks && Regards,