This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

strange behaviour of perl with Net::SMTP and Net::POP3


Hi,
has anybody else detected a strange effect when using Net::SMTP and 
Net::SMTP at the same time?
Every module works fine when left on its own, but in conjunction the
initialisation of a Net::SMTP object after a Net::POP3 object had 
been used _almost_ always fails (an vice versa).
 
eg.:

#!/usr/bin/perl
use Net::SMTP;
use Net::POP3;

$pop = Net::POP3->new($POP3_SERVER,Debug=>1) || die "POP3 connection
failed\n";
$pop->quit();
$smtp = Net::SMTP->new($SMTP_SERVER",Debug=>1) || die "SMTP connection
failed\n";
$smtp->quit();

This effect does not occur with the Activestate or any Linux/Solaris 
installation of perl, so this seems a cygwin-specific bug.
Any ideas?

Jochen

-- 
          jochen.schneider@mediaways.net 
   http://www.legasthenie-ist-keine-schande.de
<< Premature optimization is the root of all evil >>

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]