Re: Accessing array from Perl & DBI using Template Toolkit

2010-08-14 Thread MySelf rdtan.net
Hi Steve, > Understanding references is imho one of the most important aspects of > being able to use Perl effectively, and minimize headache. > (stuffing my head into the Llama book) > That's because iirc TT accepts a hashref as the data, and you must stuff > your arrayrefs within it. > > Here i

Re: Accessing array from Perl & DBI using Template Toolkit

2010-08-10 Thread MySelf rdtan.net
Hi Dermot, On 10/08/10 4:49, Dermot wrote: snip > Hi, > > Not sure why you had to send this twice. Oops, sorry about it, to everybody. The first email (my time shows 8pm ++) was sent but it didn't turn up in my email client (on this mailing list, beginners@perl.org) and my hosting's webmail interf

Accessing array from Perl using Template Toolkit

2010-08-09 Thread MySelf rdtan.net
Hi, I'm trying to pickup CGI web application programming using Perl, DBI & TT (Template Toolkit). This small application is about storing data (using CGI::FormBuilder) list it using Template Toolkit. After retrieving records from MySQL using DBI, I've problem understanding how to pass to Template T