in reply to CONVERTING CSV TO XLS

I went through this code https://metacpan.org/source/HMBRAND/Text-CSV_XS-1.08/examples/csv2xls/csv2xls I am really new to perl and i need to make this program ASAP so can you please tell me in the above code how i can convert my t.txt to tab.xls(i mean where should i enter the filenames in the code above hwat changes i have to make please help im too noob :) )

Replies are listed 'Best First'.
Re^2: CONVERTING CSV TO XLS
by marto (Cardinal) on May 26, 2014 at 07:32 UTC

    Install Text::CSV_XS, from a command prompt:

    cpan Text::CSV_XS

    Install other modules required by the csv2xls tool:

    cpan Date::Calc cpan Spreadsheet::WriteExcel

    When you run csv2xls without any arguments it'll display the usage information.

      Thanks! Is there any way i could.. instead of going till the end of the tabfile (while (<TABFILE>)) go till a variable which has initial value of lets say 10 and the in the next iteration(i increment that variable by 10) so my file now is read from 10 to 20... then 20-30 and so on and so forth ? if such a method is possible i believe my code would work ! the question is.. is it possible ?