in reply to What’s the best way to get the last N elements of a Perl array?
Seems like you already tried something or at least thought about your task. Was there any outcome (a.k.a. code) that you can show us?