Summary: problems PAR, MailBox and Active Perl

"Luft, Markus" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <78CB79D4F16FFD4C8D7D1E557012AF28043AC148@derum202>
Problem:
========
I tried to use ActivePerl with the PAR package to get a standalone binary
for windows.  Unfortunately I ran into problems. I use
- ActivePerl 5.8.3.809-MSWin32-x86
- Mail-Box 2.053
- PAR 0.75

Error Message: 
Can't locate Mail/Message/Construct/Read.pm in @INC (@INC contains:
CODE(0xd2db34) .) at (eval 36) line 3, <HANDLE> line 54.

Analysis:
=========
The @INC is permissable, but a bit weird.  Is your code something like:
   use Mail::Message;
   my $msg = Mail::Message->read(\*STDIN);

then the AUTOLOADer (located in Mail::Message::Construct) is not finding
the Mail/Message/Construct/Read.pm file.  Because of a "require" in
combination with a code-ref in the @INC???

Solution:
=========
Simply force the missing files to be included by a statement like:

use Mail::Message::Construct::Read;

If there are any missing files left include them in the same way.



Thx Mark


Regards
   Markus Luft
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.