Re: [Apache-dispatch-devel] Fwd: SF.net SVN: apache-dispatch: [50] trunk
Brought to you by:
geoffrey_young,
phred_moyer
|
From: Fred M. <fr...@ta...> - 2006-08-07 18:33:37
|
>On Mon, 7 Aug 2006, Geoffrey Young wrote: > Fred Moyer wrote: >> On Tue, 1 Aug 2006, Fred Moyer wrote: >> only seems to work if I 'use Apache::TestRequest'. But that makes it hard >> to load the package conditionally like WS::CDN does. > > require Apache::TestRequest; > > ? I can do that part, but the Apache::TestRequest->import(qw(GET_OK)) still results in the "can't call method GET_OK without package or object name" error, which I don't get when I 'use Apache::TestRequest' directly. I'll wrap that up into a reproducible case and post it tonight. I'm really close on having this just do the right thing. I've got a test environment also that I can test mp1 and mp2 with and without Apache::Test and Apache::Filter so I think all the bases are covered - just this one last nit. > >> >> I could get rid of the GET_OK call for now - I banged my head on this for >> a couple hours and have a deeper understanding of Apache::Test but still >> no guess as how to require Apache::TestRequest and import GET_OK. I'll >> try to wrap up a skeleton snippet which reproduces this issue and submit >> it to the Apache::Test list. >> >> > >> >>> All tests passing for me on mp1 and mp2. I put a new dist up at http://www.redhotpenguin.com/Apache-Dispatch-0.10.tar.gz > > I'll try to give that a whirl "soonish" :) > > --Geoff > |