in reply to reading textfiles into 1 whole file

You didn't say what you intend to do with your data after you read the files. What sort of output do you want to produce? Why is it a "problem" to have "repeated set of values from different text files"?

You should put <code> tags around your sample data as well as around your code, to make it easier for us to understand your data.

  • Comment on Re: reading textfiles into 1 whole file

Replies are listed 'Best First'.
Re^2: reading textfiles into 1 whole file
by luckysing (Novice) on Jul 13, 2010 at 19:58 UTC

    I need to use the data to plot graphs, the value of the column names should not be repeated and the values corresponding to each column should be listed one below the other where as in my case i am reading multiple files one after the other which also capture the header from each text files in between the data.Also i want to read each file separately so that i can associated a timestamps with it and its respective data.Thanks for the help and sorry for the code formatting i am new to Perl monks:P