Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Net::POP3->new() fails in PerlApp compiled script

Reply
Thread Tools

Net::POP3->new() fails in PerlApp compiled script

 
 
Eric McDaniel
Guest
Posts: n/a
 
      09-22-2003

This may be a question for ActiveState support, but just in case anyone out
there knows what the problem is...

My call to Net:OP3->new() works fine when run through the perl
interpreter, but fails when I compile the script with PerlApp and run it. My
system is Windows 2000, ActiveState Perl 5.8.0 build 806, PerlApp 5.2.0
build 520.

Here is the script:

################################################## ############
#!perl -w

use strict;

use Net:OP3;

my $p = Net:OP3->new('mail.mydomain.com', Debug=>99)
or die('Server connection error');
################################################## ############

The command'perl pop3.pl' yields this (successful) output:

Net:OP3: Net:OP3(2.23)
Net:OP3: Net::Cmd(2.21)
Net:OP3: Exporter(5.566)
Net:OP3: IO::Socket::INET(1.26)
Net:OP3: IO::Socket(1.27)
Net:OP3: IO::Handle(1.21)

Net:OP3=GLOB(0x1d524ac)<<< +OK X1 NT-POP3 Server mail013.readyhosting.com
(IMa
il 7.10 2193398-16)
Net:OP3=GLOB(0x1d524ac)>>> RSET
Net:OP3=GLOB(0x1d524ac)<<< +OK
Net:OP3=GLOB(0x1d524ac)>>> QUIT
Net:OP3=GLOB(0x1d524ac)<<< +OK POP3 Server saying Good-Bye


However, when I compile it with PerlApp ('perlapp pop3.pl') and run the
resulting pop3.exe, it dies:

Server connection error at pop3.pl line 7.


Any ideas?

Thanks.

-Eric



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I create a page, then it's compiled upon first request, where cani find the compiled code?? lander ASP .Net 5 03-05-2008 04:34 PM
unusual behaviour of perl script compiled with perlapp on hp-ux11i strepxe@yahoo.co.uk Perl Misc 1 05-08-2005 07:33 PM
perlapp question justme Perl Misc 0 04-13-2005 01:19 AM
g++ compiled C++ code called from gcc compiled C code Klaus Schneider C++ 1 12-02-2004 01:44 PM
Net::POP3->new() fails in PerlApp compiled script Eric McDaniel Perl Misc 3 09-24-2003 04:22 AM



Advertisments