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.