[Catalyst-dev] subdomain hook for Catalyst::Test

Ashley apv at sedition.com
Wed Oct 8 17:40:27 BST 2008


On Oct 8, 2008, at 9:03 AM, Jason Gottshall wrote:
> Matt S Trout wrote:
>> 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?
>

Just throwing this out there: "domain" is probably the wrong  
technical nomenclature for this however it ends up being done. URI.pm  
and friends use "host" and I argue for toeing that line.

-Ashley




More information about the Catalyst-dev mailing list