Re: Apache2::Module::get_config: s is not of type Apache2::ServerRec

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 11/20/2012 09:38 PM, Samuel Gómez wrote:
>   my $cfg = Apache2::Module->get_config(__PACKAGE__, $s);

try:

  Apache2::Module::get_config(__PACKAGE__, $s);

The way you call it means

  Apache2::Module::get_config('Apache2::Module', __PACKAGE__, $s);


Torsten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.