[Catalyst] Testing--best-practice help (long; will wiki the responses)

Jesse Sheidlower jester at panix.com
Wed Jun 17 12:49:43 GMT 2009


On Wed, Jun 17, 2009 at 06:58:49AM -0400, Jesse Sheidlower wrote:
> 
> * Is there any solution to using %ENV for global variables in
> the setup script? I need the same info to be available in the
> BEGIN and the END blocks; using "our" in the BEGIN doesn't
> work. %ENV looks ugly and feels wrong.

Thanks to Dave Howorth for pointing out offlist that if you
declare the "our" variables before the BEGIN and just define
them within the BEGIN, everything works fine.

One down!

Jesse Sheidlower



More information about the Catalyst mailing list