Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Help with IO::Scalar and piping

by Corion (Patriarch)
on Sep 27, 2009 at 12:01 UTC ( [id://797771]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Help with IO::Scalar and piping
in thread Help with IO::Scalar and piping

As you don't tell where exactly you get the errors, it's kinda hard to guess what might be going wrong.

Replies are listed 'Best First'.
Re^4: Help with IO::Scalar and piping
by jakev383 (Initiate) on Sep 27, 2009 at 13:15 UTC
    I am no longer getting an error, but the $result printed in the $body is always "none" regardless of whether the message is signed or not, and the foreach loop never adds anything to the $body at all, which leads me to believe that the data (message) is still not being loaded into the parser correctly. Thanks.

      Your code is littered with parts not relevant to the problem. Please reduce it by removing all parts of your program that do not relate to Mail::DKIM and getting a result from it. Also, I would assume that the result of the DKIM verifier depends on the input message, which you haven't supplied. Note that Mail::DKIM::Verifier seems to want SMTP-style line endings (\r\n), which your raw reading of a file might or might not produce.

      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found