perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lambrecht <mark_lambre...@yahoo.com>
Subject difference between running offline mode and mod_perl?
Date Mon, 02 Sep 2002 13:52:16 GMT
Hi,

Thanks for the excellent Embperl module.  I am a new
user and I have the following problem, for which I
could find no immediate answer on this list or in the
documentation :
- I have a epl that uses a Perl module I wrote.  I put
this module in my personal ~/local/lib/perl directory
and before running the epl file added the following
line as usual ;
use lib "/home/mlambrecht/local/lib/perl";
use MyModule;

The epl file runs fine using embexec.pl in off-line
mode, but I get the following error from Embperl :

[1227]ERR: 24: Error in Perl code: Can't locate
MyModule.pm in @INC (@INC contains:
/home/mlambrecht/local/lib/perl
/usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl . /usr/local/apache/
/usr/local/apache/lib/perl) at
/usr/local/apache/htdocs/mlambrecht/test3.epl line 6. 
    BEGIN failed--compilation aborted (in cleanup)
Can't locate MyModule.pm in @INC (@INC contains:
/home/mlambrecht/local/lib/perl
/usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl . /usr/local/apache/
/usr/local/apache/lib/perl) at
/usr/local/apache/htdocs/mlambrecht/test3.epl line 6. 
    BEGIN failed--compilation aborted at
/usr/local/apache/htdocs/mlambrecht/test3.epl line 6.

I am using perl 5.8 under RedHat Linux and Embperl.
Any help greatly appreciated.
All the best,
Mark

Mark Lambrecht 

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message