[Catalyst] Force https in generated URIs

Tomas Doran bobtfish at bobtfish.net
Fri Aug 5 07:33:43 GMT 2011


On 4 Aug 2011, at 21:54, Larry Leszczynski wrote:
>
> Thanks for the clarification - I had seen a fair amount of Moose code
> that did *not* use namespace::autoclean,

If you say:

package Foo;
use Moose;

... code ...

no Moose;

Then you're also fine..

However if you import stuff from half a dozen modules at the top of  
your file, then you need to un-import all of them, and adding:

no Moose;
no Foo;
no Bar;
no Baz;

etc is both a pain in the ass, and likely to be error prone.

Using namespace::clean or namespace::autoclean just neatly avoids this.

Cheers
t0m




More information about the Catalyst mailing list