* Todd Lyons <tly...@ivenue.com> [2009-09-21 05:45]:
> On Wed, Sep 16, 2009 at 7:20 AM, Ascii King <t...@swattermatter.com> wrote:
> > Thanks, Denny. that's perfect. Just to complete the question
> > for the archives, you would call the no_wrapper like this:
> > $c->stash->{no_wrapper => 1};
>
> Is this a typo?  Should it be () instead of {} ?

Yes. It should be either of the following:

    $c->stash->{no_wrapper} = 1;
    $c->stash( no_wrapper => 1 );

I always prefer the latter.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.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