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