Hello Mike,

Thanks for your answer, this should do it indeed. Super! Somehow I didn't
think about perl sections...

Thanks again,

Lian Sebe, M.Sc.
Freelance Analyst-Programmer
www.programEz.net

> -----Original Message-----
> From: Mike P. Mikhailov [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 05, 2003 2:23 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: PerlModule options?
>
>
> Hello [EMAIL PROTECTED],
>
> Tuesday, August 05, 2003, 2:55:52 PM, you wrote:
>
> cfr> Hi list,
>
> cfr> One questions for the braves ;-)
>
> cfr> As I understand, the directive
>
> cfr> PerlModule Foo::Bar
>
> cfr> loads the module but doesn't import the symbols since it is
> equivalent to
> cfr> the use Foo::Bar (). Therefore I should use "use Foo::Bar"
> in each program
> cfr> only to make the import.
>
> cfr> Is there other way to load the module and import the
> symobols specified in
> cfr> @EXPORT at mod_perl reloading time, without adding a special
> line in each
> cfr> and every script using them?
> cfr> Perhaps some options passed to PerlModule though adding
> (...) doesn't help
> cfr> since PerlModule expects a list of modules.
>
> cfr> Thanks a bunch,
>
> cfr> Lian Sebe, M.Sc.
> cfr> Freelance Analyst-Programmer
> cfr> www.programEz.net
>
> I think this will work
>
> <perl>
>       use Foo::Bar qw ( ... whatever you want to import ... );
> </perl>
>
> --
> WBR, Mike P. Mikhailov
>
> mailto: [EMAIL PROTECTED]
> ICQ:    280990142
>
> I believe in God, only I spell it Nature.
>

Reply via email to