Re: [Catalyst] Use of uninitialized value in delete

2013-01-28 Thread Bill Moseley
On Mon, Oct 29, 2012 at 3:45 AM, Will Crawford wrote: > On 19 October 2012 18:37, Bill Moseley 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 de

Re: [Catalyst] Use of uninitialized value in delete

2012-10-29 Thread Will Crawford
On 19 October 2012 18:37, Bill Moseley wrote: > delete $c->stash->{foo}; Is there a function / method called "foo" anywhere in scope? ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable a

Re: [Catalyst] Use of uninitialized value in delete

2012-10-28 Thread Lars Balker
On Fri, Oct 19, 2012 at 7:37 PM, Bill Moseley wrote: > 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}; Is that the literal error-message and code? % perl -e 'use strict; use warnings; m

Re: [Catalyst] Use of uninitialized value in delete

2012-10-28 Thread Bill Moseley
On Sat, Oct 27, 2012 at 9:34 PM, Larry Leszczynski wrote: > Hi Bill - > > On Fri, Oct 19, 2012, at 11:37 AM, Bill Moseley wrote: > > > 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

Re: [Catalyst] Use of uninitialized value in delete

2012-10-27 Thread Larry Leszczynski
Hi Bill - On Fri, Oct 19, 2012, at 11:37 AM, Bill Moseley wrote: > 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, Are both $c and $c->stash defined at that point? Larry _

[Catalyst] Use of uninitialized value in delete

2012-10-19 Thread Bill Moseley
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