my @input = ; print 'Size: ', scalar(@input), " lines.\n"; #### @input[-50 .. -1]