Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-TT CPAN distribution.

Report information
The Basics
Id: 18737
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-TT

People
Owner: Nobody in particular
Requestors: hudson [...] osresearch.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Documentation bug in example code
Date: Sun, 16 Apr 2006 10:47:58 -0400
To: bug-cgi-application-plugin-tt [...] rt.cpan.org
From: Trammell Hudson <hudson [...] osresearch.net>
The example code for CGI::Application::Plugin::TT has a bug: sub myrunmode { my $self = shift; my %params = { email => ’email@company.com’, menu => [ { title => ’Home’, href => ’/home.html’ }, { title => ’Download’, href => ’/download.html’ }, ], session_obj => $self->session, }; return $self->tt_process(’template.tmpl’, \%params); } %params is a hash, but is being assigned a hashref. It should have () instead of {} for the grouping, or should be defined as $params. Thanks! -- Trammell
Download (untitled)
application/pgp-signature 155b

Message body not shown because it is not plain text.

This has been fixed and will appear in version 1.04 Thanks Cees Hek