Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 56663 invoked from network); 15 Jan 2004 14:46:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 14:46:52 -0000 Received: (qmail 4429 invoked by uid 500); 15 Jan 2004 14:46:46 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 4393 invoked by uid 500); 15 Jan 2004 14:46:46 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 4323 invoked from network); 15 Jan 2004 14:46:44 -0000 Received: from unknown (HELO nrcmrdbh2.imsb.nrc.ca) (132.246.56.31) by daedalus.apache.org with SMTP; 15 Jan 2004 14:46:44 -0000 Received: by nrcmrdbh2.imsb.nrc.ca with Internet Mail Service (5.5.2656.59) id ; Thu, 15 Jan 2004 09:46:44 -0500 Message-ID: <10C94843061E094A98C02EB77CFC328701225232@nrcmrdex1d.imsb.nrc.ca> From: "Blanchard, Raphael" To: "'embperl@perl.apache.org'" Subject: embperl and require Date: Thu, 15 Jan 2004 09:46:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3DB76.62ECDD20" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3DB76.62ECDD20 Content-Type: text/plain; charset="iso-8859-1" Hi, I'm pretty new to embperl. I noticed a behavior that is different from that of perl. When I use [- require('somefile.pl') -] in an embperl script, I get "Error in Perl code: Can't locate config.pl in @INC " where @INC contains the current directory '.' and my script that calls require is in the same directory as somefile.pl. This works as a perl cgi but not in embperl. Can anyone explain to me why this doesn't work? I'm running embperl 2 on mod_perl Raphael ------_=_NextPart_001_01C3DB76.62ECDD20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable embperl and require

Hi,

I'm pretty new to embperl.  I = noticed a behavior that is different from that of perl.  When I = use [- require('somefile.pl') -] in an embperl script, I get = "Error in Perl code: Can't locate = config.pl in @INC

"  where @INC contains the = current directory '.' and my script that calls require is in the same = directory as somefile.pl.  This works as a perl cgi but not in = embperl.  Can anyone explain to me why this doesn't work?  = I'm running embperl 2 on mod_perl

Raphael

------_=_NextPart_001_01C3DB76.62ECDD20--