Skip Menu |

This queue is for tickets about the Module-Which CPAN distribution.

Report information
The Basics
Id: 96781
Status: resolved
Priority: 0/
Queue: Module-Which

People
Owner: NEILB [...] cpan.org
Requestors: jimhallsun [...] gmail.com
Cc:
AdminCc:

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



Subject: $VERSION error message
Date: Fri, 27 Jun 2014 17:31:24 -0400
To: bug-Module-Which [...] rt.cpan.org
From: James Hall <jimhallsun [...] gmail.com>
Hi, Hopefully have a straight forward error: jhall@jimwin8:~$ which_pm Text::CSV_XS Variable "$VERSION" is not imported at /export/code/perl5/bin/which_pm line 16. Global symbol "$VERSION" requires explicit package name at /export/code/perl5/bin/which_pm line 16. BEGIN not safe after errors--compilation aborted at /export/code/perl5/bin/which_pm line 115. I have: Module-Which-0.03 As an aside: the code has a bunch of ^M on the end when I vim the file. Maybe dos2unix needs to be run on the file to have it formatted in a neutral way? Here is my env: jhall@jimwin8:~$ uname -a SunOS jimwin8 5.11 11.2 i86pc i386 i86pc jhall@jimwin8:~$ perl -v This is perl 5, version 12, subversion 5 (v5.12.5) built for i86pc-solaris-64int (with 7 registered patches, see perl -V for more detail) I don’t think this is an environment issue, just need to declare / import $VERSION? JIM
Hi Jim, Yeah, this was a problem with the 0.03 release, which I fixed with the 0.04 release: if you install that it should work fine. Apologies for the inconvenience. Neil