Skip Menu |

This queue is for tickets about the Linux-Distribution CPAN distribution.

Report information
The Basics
Id: 45255
Status: resolved
Priority: 0/
Queue: Linux-Distribution

People
Owner: Nobody in particular
Requestors: amee2k [...] fusion-core.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.20



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
Hi Thomas, Thanks for taking the time to report your issue. It has been fixed in the current version 0.20 of Linux::Distribution. Michiel