[Catalyst-dev] Setting the port in the configuration

Thomas Klausner domm at cpan.org
Wed Oct 1 20:19:14 BST 2008


Hi!

On Wed, Oct 01, 2008 at 10:28:21AM -0400, Andy Grundman wrote:

>> As we have some cat apps running that need to talk to each other, we'd
>> love to start them on the same port, even if we forget the --port flag
>> to ourapp_server.pl
>
> Would it not be easier to just set the CATALYST_PORT environment variable 
> in ~/.profile or similar?

Not really, at least not when you have to set it on several machines (eg 
we have 4 developer machines, two more laptops, devel, stage and live)

Setting it in myapp.conf (and/or myapp_local.conf) is much less 
hassle...


-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}



More information about the Catalyst-dev mailing list