in reply to Parsing email

Just guessing, but maybe Mail::DeliveryStatus::BounceParser wants the handle positioned at the beginning of the file, and that is not so after you read its contents into @safe_file_copy. Try using seek to reposition the filehandle back to the beginning.

seek K, 0, 0;

Replies are listed 'Best First'.
Re^2: Parsing email
by hecroce (Friar) on Apr 10, 2008 at 04:41 UTC
    Thank you olus, that was the reason, as soon as i added that line everything worked as expected.