Thans for looking at this.<br><br><div class="gmail_quote">On Sat, Oct 20, 2012 at 9:32 AM, Kevin Goess <span dir="ltr"><<a href="mailto:cpan@goess.org" target="_blank">cpan@goess.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It looks to me like that warning comes if the *key* you're trying to<br>
delete is an uninitialized value, not the hash slot.<br></blockquote><div><br></div><div>Yes, it does. But I'm not using a scalar variable as my key:</div><div><br></div><div> delete $c->stash->{foo};</div>
<div><br></div><div>"foo" is not a constant or a sub name in that package. And even if it was I still don't see the error.</div><div><br></div><div><div>$ perl -Mstrict -Mwarnings -wle 'sub foo () { return 123 }; print foo; my %hash; delete $hash{foo}'</div>
<div>123</div><div><br></div><div>$ perl -Mstrict -Mwarnings -wle 'sub foo () { return undef }; print foo; my %hash; delete $hash{foo}'</div><div>Use of uninitialized value in print at -e line 1.</div></div><div>
<br></div><div>I'll dig into this more. One odd thing is in the logs I see this warning in groups of five, which doesn't make much sense at this moment. I need to gather more debugging date from the developer that's seeing this.</div>
<div><br></div><div>Thanks,</div><div><br></div><div> </div></div><div><br></div>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org" target="_blank">moseley@hank.org</a><br>