[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Apache2::Module::get_config: s is not of type Apache2::ServerRec
From:       Samuel_Gómez <samuelgomezcrespo () gmail ! com>
Date:       2012-11-20 22:11:23
Message-ID: CAJ8r+kFVXwfjx4+NvaGBHPPvUARJKTK=8Yvunq4x2smBEf0vbQ () mail ! gmail ! com
[Download RAW message or body]

Oh!

That was.

Thank you!


On Tue, Nov 20, 2012 at 9:48 PM, Torsten Förtsch
<torsten.foertsch@gmx.net>wrote:

> 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
>

[Attachment #3 (text/html)]

Oh!<br><br>That was.<br><br>Thank you!<br><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Tue, Nov 20, 2012 at 9:48 PM, Torsten Förtsch <span \
dir="ltr">&lt;<a href="mailto:torsten.foertsch@gmx.net" \
target="_blank">torsten.foertsch@gmx.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im">On 11/20/2012 09:38 PM, Samuel Gómez \
wrote:<br> &gt;   my $cfg = Apache2::Module-&gt;get_config(__PACKAGE__, $s);<br>
<br>
</div>try:<br>
<br>
  Apache2::Module::get_config(__PACKAGE__, $s);<br>
<br>
The way you call it means<br>
<br>
  Apache2::Module::get_config(&#39;Apache2::Module&#39;, __PACKAGE__, $s);<br>
<br>
<br>
Torsten<br>
</blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic