On Thu, Apr 26, 2007 at 02:35:09PM -0700, Michael Higgins wrote:
> I'm wondering how I can get a query (that becomes a drop-down list for a
> form field) set to execute only once and return the data from the client
> side, or at least from memory, until the session ends.
my $data = $c->session->{drop_down_data} ||= $self->get_grop_down_data($c);
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://www.shadowcatsystems.co.uk/
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/