in reply to Mail::POP3Client Connection
The code you've posted is presumably from which ever version of Mail::POP3Client.pm you have installed. There are 3 problems with this.
A quick look at CPAN turns up two versions, 2.13 & 2.14. The problem is that line 422 in both of these does not fall within the scope of the code you posted. In one version it is a blank line just below the Login() sub, in the other it falls part way through the Login() sub, but in neither case does the line look like it could produce the error message you are getting.
As a quick debug, I recommend that you add a line
as the very first line inside the Connect() sub, and see what values you are actually passing in. A pound to a penny, that one or more of the parameters you are passing is undef. If this is the case, you will see two adjacent vertical bars, ("...||...") somewhere in the output produced by the line above. HTH.warn join'|', @_, $/;
|
|---|