in reply to Class::DBI error?
$thread is one CDBI object with methods for each column. I don't think you're getting anything from looping on it. The code inside the loop should work without the 'for'.for ( $thread ) {
Other than that it is hard to tell because it seems you are sending some data structures to your template and printing them there. I would try using Data::Dumper with warn to see if d_body and d_comment have what you think they have. Then run it through the template.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Class::DBI error?
by stonecolddevin (Parson) on Jun 10, 2005 at 11:51 UTC | |
by holli (Abbot) on Jun 10, 2005 at 12:26 UTC | |
by stonecolddevin (Parson) on Jun 10, 2005 at 12:30 UTC | |
by cbrandtbuffalo (Deacon) on Jun 10, 2005 at 12:06 UTC | |
by stonecolddevin (Parson) on Jun 10, 2005 at 12:09 UTC | |
by cbrandtbuffalo (Deacon) on Jun 10, 2005 at 12:14 UTC | |
by stonecolddevin (Parson) on Jun 10, 2005 at 12:16 UTC | |
|