Skip Menu |
 

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 8512
Status: resolved
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: pawal [...] blipp.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.415
Fixed in: (no value)



Subject: ... or die won't work in Parser
Download (untitled) / with headers
text/plain 618b
From Parser in function parse_data: $ENCODED->flush or die "$ME: can't flush: $!"; $ENCODED->seek(0, 0) or die "$ME: can't seek: $!"; ... the or dies are newly introduced, they are not there in earlier versions. It breaks a script I have done which does something like this: my $parser = new MIME::Parser; $parser->output_to_core(1); $parser->tmp_recycling(1); $parser->tmp_to_core(1); my $entity = $parser->parse_data($mail->as_string); What happens with the "or die"-things is that get an undefined value in $entity, and if I remove "or die" it works just as fine as it did with earlier versions of MIME::Tools.
Download (untitled) / with headers
text/plain 113b
This was caused by broken flush() and seek() calls in the IO-Stringy modules, which were fixed a looong time ago.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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