Bug under Win32

Martin Raspe <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
Hello,

I am trying Mail::Box (v. 2.053, Win2000, Perl 5.6.1) and it seems it 
has s a bug:

When a folder is opened and closed again (without modifications, but 
rewriting it by "force"), the folder gets corrupted and an error message 
is printed for the last message:

"ERROR: File too short to get write message 12 (1872, 1928)"

I guess it Mail::Box makes a mistake when counting the linebreaks
(which are CRLFs here it seems - I work with Mozilla Thunderbird files). 
When I try to set the "lineSeparator" (as stated in the POD) for the 
folder I get:

"Method lineSeparator() is not defined for a Mail::Box::Mbox::Message."
	Mail::Reporter::AUTOLOAD('Mail::Box::Mbox::Message=HASH(0x2396c90)', 
'^M^J') called at C:/Perl/site/lib/Mail/Message/Construct.pm line 61
Mail::Message::AUTOLOAD('Mail::Box::Mbox::Message=HASH(0x2396c90)', 
'^M^J') called at C:/Perl/site/lib/Mail/Box.pm line 800
	Mail::Box::lineSeparator('test', 'CRLF') called at 
D:\Scripts\perl\test.pl line 45

Thanks,

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.