[Catalyst] Annoying warning running under test server on Win32

Will Hawes info at whawes.co.uk
Wed Dec 14 18:24:50 CET 2005


Brian Cassidy wrote:
> 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
> 

Thanks for the clarification. Does the author of File::Spec use RT to 
track bugs though? There are several in the list that have been open for 
3 years... :-o



More information about the Catalyst mailing list