Skip Menu |

This queue is for tickets about the Excel-Template-Plus CPAN distribution.

Report information
The Basics
Id: 77821
Status: new
Priority: 0/
Queue: Excel-Template-Plus

People
Owner: Nobody in particular
Requestors: netbyka [...] gmail.com
Cc:
AdminCc:

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



Subject: Man page mistake
Date: Thu, 14 Jun 2012 16:44:31 +0400
To: bug-Excel-Template-Plus [...] rt.cpan.org
From: NB <netbyka [...] gmail.com>
At man page for Excel::Template::Plus we can see examle: ====================== my $template = Excel::Template::Plus->new( engine => 'TT', template => 'greeting.tmpl', config => { INCLUDE => [ '/templates' ] }, params => { greeting => 'Hello' } ); ====================== Mistake at "{ INCLUDE => [ '/templates' ] }", this parameter is not works, correct name must be INCLUDE_PATH (see man Template): ---------------------- my $template = Excel::Template::Plus->new( engine => 'TT', template => 'greeting.tmpl', config => { INCLUDE_PATH => [ '/templates' ] }, params => { greeting => 'Hello' } ); ----------------------