delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/08/08:25:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AF7E5CC.743781B5@mediaways.net>
Date: Tue, 08 May 2001 14:25:48 +0200
From: Jochen Schneider <jochen DOT schneider AT mediaways DOT net>
Organization: mediaWays
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: 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 DOT schneider AT mediaways DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019