You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by William McKee <wi...@knowmad.com> on 2004/09/11 00:00:17 UTC

Apache::TestMB error

Hi David,

I'm getting an error when trying to use Stas' template[1] with your
module. Basically, the filter_args() method is generating an error. I am
calling it like this:

  Apache::TestMB::filter_args();

My build seems to work fine with this method commented out. However, I'm
wondering if this is an oversight in the A::TestMB module or an
incompatibility.


Thanks,
William

[1] http://perl.apache.org/docs/general/testing/testing.html#Basic_Testing_Environment
(you'll need to scroll down a bit til you get to the Makefile.PL
example)

-- 
Knowmad Services Inc.
http://www.knowmad.com

Re: Apache::TestMB error

Posted by David Wheeler <da...@kineticode.com>.
On Sep 11, 2004, at 10:19 AM, William McKee wrote:

> I'm liking Module::Build more and more ;).

Me, too.

>> Scroll down a bit more to see the Build.PL example I added.
>
> Oops, I hadn't realized that you updated that page after you released
> Apache::TestMB. Thanks for your work on integrating M::B with
> Apache::Test.

Sure, turned out to be pretty easy, I'm happy to say.

Regards,

David

Re: Apache::TestMB error

Posted by William McKee <wi...@knowmad.com>.
On Fri, Sep 10, 2004 at 04:07:35PM -0700, David Wheeler wrote:
> >I'm getting an error when trying to use Stas' template[1] with your
> >module. Basically, the filter_args() method is generating an error. I  
> >am
> >calling it like this:
> >
> >  Apache::TestMB::filter_args();
> 
> You don't need to do that. Apache::TestMB does it for you.

Nice.


> >My build seems to work fine with this method commented out. However,  
> >I'm
> >wondering if this is an oversight in the A::TestMB module or an
> >incompatibility.
> 
> No, not an oversight. I just made its interface simpler and more OO  
> than Apache::TestMM's.

I'm liking Module::Build more and more ;).


> Scroll down a bit more to see the Build.PL example I added.

Oops, I hadn't realized that you updated that page after you released
Apache::TestMB. Thanks for your work on integrating M::B with
Apache::Test.


William

-- 
Knowmad Services Inc.
http://www.knowmad.com

Re: Apache::TestMB error

Posted by David Wheeler <da...@kineticode.com>.
On Sep 10, 2004, at 3:00 PM, William McKee wrote:

> I'm getting an error when trying to use Stas' template[1] with your
> module. Basically, the filter_args() method is generating an error. I  
> am
> calling it like this:
>
>   Apache::TestMB::filter_args();

You don't need to do that. Apache::TestMB does it for you.

> My build seems to work fine with this method commented out. However,  
> I'm
> wondering if this is an oversight in the A::TestMB module or an
> incompatibility.

No, not an oversight. I just made its interface simpler and more OO  
than Apache::TestMM's.

> [1]  
> http://perl.apache.org/docs/general/testing/ 
> testing.html#Basic_Testing_Environment
> (you'll need to scroll down a bit til you get to the Makefile.PL
> example)

Scroll down a bit more to see the Build.PL example I added.

Regards,

David