This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
33999
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
BARTL [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Unimportant
Broken in:
  • 1.9205
  • 1.92_51
  • 1.92_52
Fixed in:
(no value)



Subject: CPAN.pm source file contains a null byte
There's a null byte (chr(0)) in the source of CPAN.pm. Perl (currently) doesn't appear to mind, but it's not clean: text files should not contain non-text bytes. Attached are the test results (Windows command line) with CPAN.pm versions 1.9205 (latest official release) and 1.92_57 (latest developer release). A fix is easy: just run this command line in the directory CPAN is in. perl -i~ -pe "tr/\0//d" CPAN.pm
Subject: cpan-bug.txt
CPAN-1.9205 perl -nle "print qq($.: $_) if /\0/" CPAN.pm 3441: $desc =~ s/.+? - //; CPAN-1.92_57 perl -nle "print qq($.: $_) if /\0/" CPAN.pm 3578: $desc =~ s/.+? - //;
Thanks, fixed already in reposotory (rev. 2747)


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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