Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

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

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

Bug Information
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)