in reply to Append object output to scalar
I checked it's contents with Data::Dumper, and I got this:sub index { my $self = shift; my $template = $self->load_tmpl('index.html'); return $template->output; }
Maybe your template is not being rendered. izut$VAR1 = '<html> <head> <title>Administra\uffff\uffffo VIARS</title> </head> <body> <center> <h1>Consulta de contratos</h1> <form action="viars.cgi" method="post"> <input type="hidden" name="page" value="listar_contratos_action"/> <fieldset style="width: 300px;"> <legend>Filtros</legend> <div style="text-align: left;"> Contrato<br/> <input type="text" name="filtro_contrato" /> <p/> Usuário<br/> <input type="text" name="filtro_usuario" /> <p/> <input type="submit" value="Consultar"/> </div> </fieldset> </form> </center> </body> </html> ';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Append object output to scalar
by izut (Chaplain) on Jun 23, 2005 at 14:21 UTC |