Subject: | possible bug in Distribution.pm? |
Date: | Thu, 23 Apr 2009 19:47:24 +0200 |
To: | bugs-Linux-Distribution [...] rt.cpan.org |
From: | Thomas Loch <amee2k [...] fusion-core.net> |
Hello everyone,
while installing Linux::Distribution, the module failed to load during
the tests with the following error message:
String found where operator expected at
/home/thomas/.cpan/build/Linux-Distribution-0.14-ZEcwSg/blib/lib/Linux/Distribution.pm
line 57, near "Carp::croak 'you are trying to use a linux specific
module on a different OS'"
(Do you need to predeclare Carp::croak?)
This is the full output: http://pastebin.com/f4fc48ab8
I changed line 56 in the file from
require Carp;
to
use Carp;
to work around the problem. I understand that this is just a temporary
remedy and not a fix, but unfortunately I don't have the expertise to
provide a full patch.
I'm using the following versions (ubuntu on x86_64):
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
/usr/local/bin/cpan script version 1.9, CPAN.pm version 1.9301
I've been pointed here in #perl on freenode, so if this is a mailing
list, I'm not subscribed.
Regards,
Thomas Loch