I can get $ENV{CATALYST_DEBUG} in my templates. But can't get it in lib/{App}.pm.
#Use of uninitialized value $ENV{"CATALYST_DEBUG"} in print at /path/lib/{app}.pm line 38.
And Catalyst is up to date.
cpan> install Catalyst
Catalyst is up to date (5.80005).
On Tue, Jun 30, 2009 at 2:45 AM, Tomas Doran
<bobtfish@...> wrote:
On 29 Jun 2009, at 14:34, Ian Wells wrote:
I removed -Debug, and set $ENV{CATALYST_DEBUG} =1 using PerlSetEnv
CATALYST_DEBUG 1.
Malloy, try dumping $ENV{CATALYST_DEBUG} in your app code and seeing
if it's actually set. Ideally, do that in lib/{App}.pm .
This behavior sounds like you may be running 5.80001.
If that's the case, please upgrade - you're hitting a bug which was fixed.
Cheers
t0m
--
Jack Malloy
_______________________________________________
List:
Catalyst@...
Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalystSearchable archive:
http://www.mail-archive.com/catalyst@.../Dev site:
http://dev.catalyst.perl.org/