On Sunday 26 September 2010 21:59:41 Magnus Holmgren wrote:
> On fredagen den 10 september 2010, you stated the following:
> > After that I edited the copy of the perl script file--
> > I commented out '$dkim->load(*STDIN);'
> > I added a line 's/\012$//;' immediately before 's/\015$//;' .
>
> Ah, but the second change didn't actually do anything; it was the
> first change alone that made the script work. The example in the
> manpage says to use either $dkim->load(*STDIN) *or* $dkim->PRINT
> for each line, but the methods are not equivalent since the load
> routine requires CRLF line endings, as the manpage also tells you
> (or rather, both load and PRINT require CRLF endings, but the
> example code adds them in the latter case). Still, the
> documentation could perhaps be a little bit clearer.


Thank you very much for your time and explanation.
Yes I tested it, the first change alone is sufficient.

Perhaps the man page will be amended sometime.
Till then we have this bug report.
If the lines do not have the right endings, people should comment out  
or omit '$dkim->load(*STDIN);'

Best regards
Richard Betham



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to