gouse.aman has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have been working perl from a good time and now I have come across one problem. I have to read a CSV file and get the data and for few conditions I have to read the 2nd column data which has the time and write it into a text file. The data format seems something like "21:09.3" when open with excel file to see the value and prints the same way in my output file. Now when I open it with wordpad it shows the same value as "18:21:09.32". I can directly format the column in excel but that has to be done through the perl script itself. So please provide a quick answer soon. Help at the earliest needed. Thanks!
  • Comment on Formatting the column of a CSV file using perl

Replies are listed 'Best First'.
Re: Formatting the column of a CSV file using perl
by marto (Cardinal) on May 06, 2013 at 07:29 UTC
Re: Formatting the column of a CSV file using perl
by Anonymous Monk on May 06, 2013 at 06:56 UTC