[Catalyst] Annoying warning running under test server on Win32

Brian Cassidy brian.cassidy at nald.ca
Wed Dec 7 18:14:11 CET 2005


Will,

> -----Original Message-----
> Using Catalyst 5.61, I'm getting the following warning, 8 times per
> request:
> 
> Use of uninitialized value in list assignment at
> C:/Perl/site/lib/Catalyst/Engin
> e/HTTP.pm line 230.
> 
> It's caused by undef values in %copy_of_env in Engine/HTTP.pm.
> 
> Any chance of altering the test server to get rid of the warnings? I'm
> sure others know better ways to do so, but the following works for me:
> 
> while ( my ( $key, $value ) = each(%copy_of_env)) {
>      delete $copy_of_env{$key} if !defined $value;
> }

This is actually part of an error in File::Spec::Win32. I filed this bug
report a few weeks ago: http://rt.cpan.org/NoAuth/Bug.html?id=15868

-Brian





More information about the Catalyst mailing list