Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resultset question

Status
Not open for further replies.

jj0914

Programmer
Aug 4, 2006
33
CA
I am trying to select the recent entries(last 5 entries in the table) and display on the website,right now I am not sure how I can do that.

here is my resultset:

my $searchResult = $c->model( 'GuestBook::Entry' )->search(
{
entry=>{ '>=' => 2 }
},
{
join => [qw/entry_tag_joins/],
}
);
$c->stash->{ tagged_entries } = $searchResult;
 
Thats not data, thats how your script gets the data (I think). Can't tell by looking at what you posted.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top