Re: problems PAR, MailBox and Active Perl

Mark Overmeer <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Organization MARKOV Solutions
Message-ID <[email protected]>
No answer from anybody else?  Then I give it a try ;-)  Although
I have not the faintest idea about Windows :-D

* Luft, Markus ([email protected]) [040309 14:32]:
> 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
> 
> Can't locate Mail/Message/Construct/Read.pm in @INC (@INC contains:
> CODE(0xd2db34) .) at (eval 36) line 3, <HANDLE> line 54.

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???

Maybe it helps to start your script with an explicit
  use Mail::Message::Construct::Read;
-- 
               MarkOv

------------------------------------------------------------------------
drs Mark A.C.J. Overmeer                                MARKOV Solutions
       [email protected]                          [email protected]
http://Mark.Overmeer.net                   http://solutions.overmeer.net
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.