<br><div class="gmail_quote">I'm seeing "<span style="color:rgb(34,34,34);white-space:pre-wrap">Use of uninitialized value in delete" for this line:</span><div><font color="#222222"><span style="white-space:pre-wrap">
</span></font></div><div><font color="#222222"><span style="white-space:pre-wrap">   delete $c->stash->{foo};</span></font></div><div><font color="#222222"><span style="white-space:pre-wrap"><br></span></font></div>



<div><font color="#222222"><span style="white-space:pre-wrap">Perl 5.14.2.</span></font></div><div><font color="#222222"><span style="white-space:pre-wrap">Obviously, that's in Catalyst, and it's running under mod_perl.</span></font></div>


<div><font color="#222222"><span style="white-space:pre-wrap"><br></span></font></div><div><span style="white-space:pre-wrap;color:rgb(34,34,34)">I didn't think that delete issued a warning, and I can't seem to make it happen:</span></div>


<div><font color="#222222"><span style="white-space:pre-wrap"><br>
</span></font></div><div><font color="#222222"><span style="white-space:pre-wrap">$ perl -Mwarnings -Mstrict -Wle 'use warnings; use strict; my $x = {}; delete $x->{a}'</span></font></div><div><font color="#222222"><span style="white-space:pre-wrap">

</span></font></div><div><font color="#222222"><span style="white-space:pre-wrap">Am I missing something obvious here?</span></font></div><span class="HOEnZb"><font color="#888888"><div><font color="#222222"><span style="white-space:pre-wrap"><br>

</span></font><div>

<div><br></div>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org" target="_blank">moseley@hank.org</a><br>
</div></div>
</font></span></div><br><br clear="all"><div><br></div>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org" target="_blank">moseley@hank.org</a><br>