Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parsing email

by samtregar (Abbot)
on Apr 09, 2008 at 18:36 UTC ( #679320=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Parsing email
Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://679320]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2014-10-02 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (45 votes), past polls