23 Kas 2011 Çrş, 14:31:15 tarihinde, cpan@pjedwards.co.uk yazdı:
Show quoted text> On Fri Aug 26 09:01:48 2011, JQUELIN wrote:
> > $ perl -MSys::Info::Driver::Linux::OS::Distribution -E 'say
> > Sys::Info::Driver::Linux::OS::Distribution->new->manufacturer'
> >
> > same for edition method.
> >
> > this is problematic since it leads to the following:
> > Odd number of elements in anonymous hash at
> > /usr/lib/perl5/vendor_perl/5.14.1/Sys/Info/Driver/Linux/OS.pm line
> 212.
>
> Ran into a similar problem on Red Hat Enterprise Linux Server release
> 5.7 (Tikanga)
>
> Sys/Info/Driver/Linux/OS.pm _populate_osversion() can have the line:
>
> MANUFACTURER => $distro->manufacturer,
>
> changed to
>
> MANUFACTURER => defined $distro->manufacturer ? $distro-
> >manufacturer : q{},
>
> to guard against odd number of elements in anonymous hash.
>
Hi,
This is fixed in v0.7900 (which'll appear on mirrors shortly).
Thanks,
Burak