Hi everyone
Im new to Mojolicious and I'm still learning perl. I have a project to do a proptotype for a specialized webshop that will contain stockitem that are individuals and needs to be stored with unique information and pictures for each item. To start with it will be around 5.6 miƤllion unique items to search through. So i was thinking to use something like this, for the queries in the models, from the help; $db->select(some_table => ['foo'] => {bar => 'yada'} => sub { my ($db, $err, $results) = @_; ...});Mojo::IOLoop->start unless Mojo::IOLoop->is_running; So i wonder a bit what is the best design pattern to get the massaged content of the $results to my controller ? Thank you in advance ! Best Regards Jan -- Titles mean nothing. The one with a servant's heart is the leader. Please consider the environment before you print this email. (1) The contents of this transmission are privileged and confidential and intended solely for the use of the addressee. Any disclosure, distribution or copying of the contents, other than by the addressee, is strictly prohibited. If you receive this transmission in error, please notify us immediately and destroy the material received. (2) All incoming and outgoing emails and any attachments are subjected to a virus scanner and are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened. Therefore, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Jan Eskilsson for any loss or damage arising in any way from receipt or use thereof. -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To post to this group, send email to mojolicious@googlegroups.com. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.