Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 62974 invoked by uid 500); 27 Dec 2002 12:23:31 -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 62958 invoked from network); 27 Dec 2002 12:23:31 -0000 Date: Fri, 27 Dec 2002 10:26:05 -0200 From: "Luiz Fernando B. Ribeiro" To: embperl@perl.apache.org Subject: Re: Undefined subroutine &HTML::Embperl::DOC::_6::verifysession Message-Id: <20021227102605.28a3476d.luiz@engenhosolucoes.com.br> In-Reply-To: References: Organization: Engenho =?ISO-8859-1?B?U29sdef1ZXM=?= para a Internet X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Em Thu, 26 Dec 2002 19:48:31 +0000 "Maur�cio Amorim " escreveu: > Hi list, > > I am using use module in my epl files. > > I modify them, but i stop and start the apache, but the error > continue: > > Internal Server Error > The server encountered an internal error or misconfiguration and was > unable to complete your request. Please contact the server > administrator, ederson@cpqd.com.br and inform them of the time the > error occurred, and anything you might have done that may have caused > the error. [14870]ERR: 24: Error in Perl code: Undefined subroutine > &HTML::Embperl::DOC::_6::verifysession called at > /home/ederson/apachelocal/htdocs/embperl//verdoc-des/cdvsession.epl > line 23. Apache/1.3.26 (Unix) mod_perl/1.27 HTML::Embperl 1.3.4 [Thu > Dec 26 17:39:20 2002] the .epl file is bellow: > > [- > use lib > '/home/ederson/apachelocal/htdocs/embperl/verdoc-des/pct'; use > GenFunc; > -] > [$ if (verifysession("usuario") == 0) $] > It seems to be a problem in your module, be sure it exports the verifysession simbol correctly. Read the documentation about the Exporter: > perldoc Exporter Any way I sugest you to use [! !] instead of [- -] for loading modules because it is executed only once. Regards, Luiz Fernando B. Ribeiro Engenho Solu��es para a Internet --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org