There's more than one way to do things | |
PerlMonks |
$c->flash Not Dereferencing Data Objectsby phildeman (Scribe) |
on Jul 02, 2020 at 19:48 UTC ( [id://11118836]=perlquestion: print w/replies, xml ) | Need Help?? |
phildeman has asked for the wisdom of the Perl Monks concerning the following question: Hi All, I encountered something unusual with Perl 5.14.2. I am using DBIx::Class to query my database. The data object is returned to Root to be passed to a View. For example, I query a person's name and address and store it in bio_object. Then I pass it to $c->flash like so: In Root.pm:
In myviewpage, using Mason in HTML page:
The view error message states it cannot find the method 'name' or 'address'. However, I created a test script Has anyone experienced this before?
Back to
Seekers of Perl Wisdom
|
|