Skip Menu |
 

This queue is for tickets about the Mail-POP3Client CPAN distribution.

Report information
The Basics
Id: 32192
Status: new
Priority: 0/
Queue: Mail-POP3Client

People
Owner: Nobody in particular
Requestors: henri.j.michel [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.17
Fixed in: (no value)



Subject: setting $\ to "\n"; before calling Mail::POP3Client() causes failures
. OS: GNU/linux fedora core 5 . perl 5.8.8 $ export POPTESTACCOUNT=x.y:XXX:pop.free.fr # contact me for x.y and XXX in case the failure is pop server dependent $ make test All tests successful. After adding $\="\n" before the call to Mail::POP3Client see attached pb-patchfile if in doubt :-) $ make test t/poptest....FAILED tests 6, 8, 10, 13 Failed 4/26 tests, 84.62% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/poptest.t 26 4 15.38% 6 8 10 13 Failed 1/1 test scripts, 0.00% okay. 4/26 subtests failed, 84.62% okay. after adding DEBUG => 1 to the call to Mail::POP3Client() you would get the pop3 protocol exchange in attached FILE trace-nok The corresponding with $\="\n" commented out is in trace-ok Interestingly tracefiles seem to indicate that you send the same stuff to the server in both cases (though adding $\="\n" clearly make a difference !!!). Submitted correction-patchfile seems to fix the problem, please double check cases of a message ending with blank lines.
Subject: trace-nok
Download trace-nok
application/octet-stream 453b

Message body not shown because it is not plain text.

Subject: trace-ok
Download trace-ok
application/octet-stream 376b

Message body not shown because it is not plain text.

Subject: correction-patchfile
Download correction-patchfile
application/octet-stream 788b

Message body not shown because it is not plain text.

Subject: pb-patchfile
Download pb-patchfile
application/octet-stream 353b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.