in reply to Re: Perl CGI and Template Toolkit
in thread Perl CGI and Template Toolkit
When I try to pass a reference to a HoH, it doesn't recognize it. It doesn't throw an error, but it doesn't display any of the data either.
Also, while a bit vague, the TT2 documentation on CPAN mentions that TmplParams has to be a hash.
It appears that this is an unfortunate limitation in MIME::Lite::TT::HTML. I'd really like to display this data using a table format, but it appears the best I can do is generate a comma delineated text field of the items in the CGI and then pass them in my existing hash.
EDIT
I mean hash reference in the above ... not hash.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl CGI and Template Toolkit
by Eliya (Vicar) on Jan 03, 2012 at 21:38 UTC | |
by Perobl (Beadle) on Jan 03, 2012 at 21:49 UTC | |
by Eliya (Vicar) on Jan 03, 2012 at 22:47 UTC | |
by Perobl (Beadle) on Jan 04, 2012 at 15:47 UTC | |
by Eliya (Vicar) on Jan 04, 2012 at 16:34 UTC | |
|
In Section
Seekers of Perl Wisdom