http://www.perlmonks.org?node_id=997431


in reply to How to implement pattern nmatching and then inserting data in a XLS file

You can convert .xls to .csv format and then do simple text search (and replace) in text file.
  • Comment on Re: How to implement pattern nmatching and then inserting data in a XLS file

Replies are listed 'Best First'.
Re^2: How to implement pattern nmatching and then inserting data in a XLS file
by Anonymous Monk on Oct 05, 2012 at 10:16 UTC
    and then I will again convert it into xls, don't you think it will be too much time consuming??

      Yes, I agree. That's just one of solutions and I check Excel modules on CPAN, but until now have found only modules like Excel::Writer for creation of Excel worksheets and without simple 'find and replace' function.

      I guess the best approach for you would be to use Win32::OLE module, example with using 'find' function is presented here Re: Win32::OLE Excel search and replace commas (adapting it to find & replace should not be hard).