Just another Perl shrine | |
PerlMonks |
Get output AnyData script without header or data_rowby GertMT (Hermit) |
on Dec 19, 2007 at 18:09 UTC ( [id://657938]=perlquestion: print w/replies, xml ) | Need Help?? |
GertMT has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks, I have a little script that selects data from a csv-text file (currently 4000 lines). Everything works smooth except that I currently have in the first line of output a row of headers that tell what in the respective columns is presented. My way of trying to get rid of this first line is seen in the script below. It doesn't work as expected as the file 'blah_no_first_line.csv' get's created before creation of the first file 'blah.csv' is completely finished and therefore 'blah_no_first_line.csv' lacks not only the first line but several at the end as well. Someone willing to share an idea that will avoid this? Thanks for any reply, Gert
Back to
Seekers of Perl Wisdom
|
|