[Catalyst-dev] subdomain hook for Catalyst::Test
Matt S Trout
dbix-class at trout.me.uk
Wed Oct 8 12:18:01 BST 2008
On Tue, Oct 07, 2008 at 10:07:32AM -0400, Jason Gottshall wrote:
> Here's a thought: if the (optional) alternate domain info is stored in a
> package var, and therefore localizable, couldn't I then dispense with
> the added argument to request() altogether? It certainly simplifies the
> code; I don't have to mess with @_ anywhere. Tests can just localize the
> defaults as necessary. Done.
You could. But isn't that gonna get kinda gross if you want to make lots
of requests each to a different domain?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst-dev
mailing list