perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Fernando B. Ribeiro" <l...@engenhosolucoes.com.br>
Subject Re: Undefined subroutine &HTML::Embperl::DOC::_6::verifysession
Date Fri, 27 Dec 2002 12:26:05 GMT
Em Thu, 26 Dec 2002 19:48:31 +0000
"Maurício Amorim " <masilva3@terra.com.br> 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


Mime
View raw message