[Catalyst] Use of uninitialized value in delete

Bill Moseley moseley at hank.org
Mon Jan 28 15:28:28 GMT 2013


On Mon, Oct 29, 2012 at 3:45 AM, Will Crawford
<billcrawford1970 at gmail.com>wrote:

> On 19 October 2012 18:37, Bill Moseley <moseley at hank.org> wrote:
> > delete $c->stash->{foo};
>
> Is there a function / method called "foo" anywhere in scope?
>

I've ignored this for a while, but still seeing in the app's logs.

No, there's no function foo defined.

Another thing that is odd is I have a $SIG{__WARN__} handler and all other
warning are caught by that but not the "Use of uninitialized value in
delete".

This machine is running 5.10.1 -- maybe it's related to that version of
Perl.

-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130128/6c0e2=
10d/attachment.htm


More information about the Catalyst mailing list