[Catalyst] CatalystX::Declare stash problem
Charlie Garrison
garrison at zeta.org.au
Tue Oct 26 06:42:12 GMT 2010
Good afternoon,
On 25/10/10 at 10:57 PM -0700, Alan Humphrey <alan.humphrey at comcast.net> wrote:
>If I use the stash method I get an error:
>
> $ctx->stash( data => $ctx->model("BirdWebDB::Orders")->search({
>'me.taxonomic_order' => {'not' => undef},
You're probably getting caught by list context; use search_rs instead:
$ctx->stash( data => $ctx->model("BirdWebDB::Orders")->search_rs({
'me.taxonomic_order' => {'not' => undef},
....
Charlie
--
Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠 http://www.ietf.org/rfc/rfc1855.txt
More information about the Catalyst
mailing list