---- within controller ---- # Get the first 10 results (getting all crashes the system! ) $c->stash( repos => [ $c->model('ORIdatabase::Repo')->search( {} { rows => '10' } ) ] ); ---- In Template ---- [% FOREACH repo IN repos -%] [% repo.oaibaseurl %] [% repo.system_url %] [% repo.lat %] [% repo.long %] [% repo.opstatus %] [% repo.fulltext %] [% repo.mandate %] [% END -%]