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 _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
