[Catalyst] best practice: where to put constants

Jarom Smith jarom at jaromsmith.net
Thu Jun 4 17:23:11 GMT 2009


Hi John:

You lost me.  I could probably figure out what you are saying, but would 
you be willing to send some sample code illustrating what you're talking 
about?  That would be very helpful to me, and possibly others.  Thanks!

jarom smith
tech go-to guy


John Napiorkowski wrote:
> I do basically the same thing, except I use Sub::Exporter instead.  Then I have a MyApp::Constants to go along with my MyApp::Types, which contain all my MooseX::Type based type constraints.
> 
> john
> 



More information about the Catalyst mailing list