[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-web
Subject:    Perl2exe can't use IO::File
From:       Roman Melihhov <roman () blakout ! net>
Date:       2001-08-22 14:47:27
[Download RAW message or body]

Whenever I'm trying to use IO:File in the following statements I'm getting following \
errors from the Perl2exe:

Warning: module syscall.ph.pm not found
Warning: module sys/syscall.ph.pm not found
Warning: module syscall.ph.pm not found
Warning: module sys/syscall.ph.pm not found

What gives? I'm using standard AP build 623
use Net::POP3;
$pop = Net::POP3->new($host, 
		Timeout => 60,
		) || die "Unable to access $host: $!";
;
$pop->login('user','pwd');
($num,$octets) = $pop->popstat();
print "$num total messages waiting in $octets octets\n";


if ($num > 0) {
use IO::File; 
$inbox = new IO::File;
$inbox->open("+>$mailbox") || die "Can't open $mailbox: $!";
for ($i = 1; $i <= $num; $i++) {
if ($pop->get($i, $inbox)) {$pop->delete($i)}
}
$pop->quit;
$inbox->close;
} #end if

There's really no syscall.ph.pm anywhere in Perl\lib or anywhere under c:\Perl\lib or \
Perl\bin Ideas appreciated.

Roman.

_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic