Re: Rendering data structures using CGI::Application

2009-06-29 Thread Steve Bertrand
Gurunandan R. Bhat wrote: > Sure. I think you would like to have the error messages next to the sub > that threw them, but here is what you want: (NOT TESTED!!) ..woot!!! Thank you ever so much. Although I inserted the data statically into my _render_error() method, the result is positive! Othe

Re: Rendering data structures using CGI::Application

2009-06-29 Thread Gurunandan R. Bhat
Sure. I think you would like to have the error messages next to the sub that threw them, but here is what you want: (NOT TESTED!!) In your module: my $messages = [ {text => 'quantity is undefined, zero or illegal'}, {text => 'amount is undefined or illegal'}, {text => 'pay

Re: Rendering data structures using CGI::Application

2009-06-29 Thread Steve Bertrand
Gurunandan R. Bhat wrote: > How do you want the output to look? If you write in a sample output, I > could help with the template to generate that output I would be extremely delighted to even get the following rendered for now, given the Data::Dumper output below. If I had a decent example, then

Re: Rendering data structures using CGI::Application

2009-06-29 Thread Gurunandan R. Bhat
How do you want the output to look? If you write in a sample output, I could help with the template to generate that output Regards On Mon, 2009-06-29 at 22:56 -0400, Steve Bertrand wrote: > I've been stuck for the last three hours trying to render the following > data structure into my browser

Rendering data structures using CGI::Application

2009-06-29 Thread Steve Bertrand
I've been stuck for the last three hours trying to render the following data structure into my browser. I'm using CGI::Application, and CGI::Application::Plugin::PageBuilder. No matter what I do or try, I can not loop the structure into a template variable. I'm literally at wits end, and am consid