Skip Menu |
 

This queue is for tickets about the ShipIt CPAN distribution.

Report information
The Basics
Id: 31282
Status: new
Priority: 0/
Queue: ShipIt

People
Owner: Nobody in particular
Requestors: tokuhirom+cpan [...] gmail.com
Cc:
AdminCc:

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



Subject: more user friendly error message
Download (untitled) / with headers
text/plain 558b
I sometime forgot to quote the $VERSION... The code likes 'our $VERSION=0.08'. Please print more user friendly message. follow is a patch. --- lib/ShipIt/ProjectType/Perl.pm.org 2007-12-06 18:27:44.000000000 - 0800 +++ lib/ShipIt/ProjectType/Perl.pm 2007-12-06 18:28:20.000000000 - 0800 @@ -63,7 +63,7 @@ while (<$fh>) { return $2 if /\$VERSION\s*=\s*([\'\"])(.+?)\1/; } - die "No \$VERSION found in file $file\n"; + die "No \$VERSION found in file $file\nMaybe, you forgot to quote \$VERSION?"; } sub update_version {


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.