http://www.perlmonks.org?node_id=679320


in reply to Parsing email

You don't say what actually happens when you try to use Mail::DeliveryStatus::BounceParser after futzing with the file. How exactly does it not work? And why are you wrapping it in an eval block and ignoring any errors it throws? Try adding this after your call to new():

warn "Call to new failed: $@" if $@;

Then tell us what it says - quite likely it will contain a description of the problem!

-sam

Replies are listed 'Best First'.
Re^2: Parsing email
by hecroce (Friar) on Apr 10, 2008 at 04:46 UTC
    Well, it just appeared as there was no information to process, no error but no output either. The solution was to position the filehandle at the beginning as indicated by olus