Sounds like you want to do some SQL:
select * from items where subcategory = "Christmas" order by id desc l +imit 2
Not really a Perl question, but whatever.
--t. alexpsI highly recommend HyperSnapDX. Buy a license!
In reply to Re: Looping Database
by talexb
in thread Looping Database
by andrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |