I am working on a Perl script to read CSV file and do some calculations. CSV file has only two columns, something like below.
One Two 1.00 44.000 3.00 55.000
perl -n -e "shift @d if (@d >= 1000); push(@d, $_); END { print @d }" < bigfile.csv
Although really, the fact that UNIX systems can simply tail -n 1000 should convince you to simply install cygwin or colinux
tail -n 1000