Sorry for the duplicate if you are on the SF Perl list.

In server logs I'm seeing this warnings:

Use of uninitialized value in delete


with a line number pointing to this line:

delete $c->stash->{foo};


I didn't think that delete() issued a warning, and I can't seem to make it
happen:
 $ perl -Mwarnings -Mstrict -Wle 'use warnings; use strict; my $x = {};
delete $x->{a}'

Is there something special about $c->stash that might trigger this in Perl?
Anyone else spot these in the logs.


This is on Perl 5.14.2 / Catalyst 5.90016 / mod_perl 2.0.7

-- 
Bill Moseley
mose...@hank.org
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to