perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Undefined subroutine &HTML::Embperl::DOC::_6::verifysession
Date Fri, 27 Dec 2002 19:41:00 GMT
>Hi, i am using an module (with extension .pm), that don't use the clause
package.
>
>I can use 'do' or 'use' ? (do "pct/module.pm";)

You can use 'do', because this will compile your code into the package of
each page. If you want to use 'use' you need a package statement in your
module and call your functions with full name.


>I read the FAQ, and it tell that restart apache work always.

The question in the FAQ is slightly different then your, but all information
are in there

Gerald



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


Mime
View raw message