Re: Having configuration-data in a package with multiple instances of the same app

Guido Brugnara via Mason-users <[email protected]> Thu, 19 Dec 2019 12:14:30 +0100 (CET)
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
----- Il 19-dic-19, alle 12:05,  [email protected] ha scritto:

> Hello!
> 
> As far I see %config from your 1st sample is not available outside the
> autohandler.
> 
> Otherwise I would do it that way.
> 
> Best regards,
> Christoph
> 

You must declare global variables.
 
Please look at https://metacpan.org/pod/HTML::Mason::Compiler 

   allow_globals parameter


bye
gdo