Skip Menu |

This queue is for tickets about the XML-Generator-Pdb CPAN distribution.

Report information
The Basics
Id: 20201
Status: new
Priority: 0/
Queue: XML-Generator-Pdb

People
Owner: Nobody in particular
Requestors: pedro+perl [...] lunatech.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.1
Fixed in: 0.1



Subject: Parsing memo text records containing newlines fails
XML::Generator::Pdb fails to parse text records containing newlines, because $content is undefined at line 89 in Pdb.pm ($Id: Pdb.pm,v 1.1.1.1 2003/04/06 21:20:57 cvsjohan Exp $). I fixed this locally by adding the 's' option to the regex on the previous line, to get: my ($content) = ( substr($data, $offset) =~ /^(.+?)\0/s ); Peter Hilton http://www.lunatech.com/ -- This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Debian Linux 2.6.15-1-686 #2 Mon Mar 6 15:27:08 UTC 2006 i686 GNU/Linux