You're replying to a comment by Alastair McGowan-Douglas.

yo dawg, you can do

push @a, $_; shift @a if @a > 10;

to keep track of the last 10 lines

You also should join your output!

END { print join "\n", @a }

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "0day": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.