Hi ,
I've a
perl script to convert .xls to .csv .After conversion I want to delete first 28 and the last row from .csv file.Is there any efficent way to achive this both together.
I'm deleting first 28 rows by using folllowing my
perl code:
exec " tail -n+28 infile.csv > outfile.csv
I tried
exec " tail -n+28 infile.csv > infile.csv
but,it failed , I want to achive everthing in one file (infile.csv).I really don't need outfile.csv.
Is there any way to achive this using perl regexps ?