kalyanrajsista has asked for the wisdom of the Perl Monks concerning the following question:

Hello All

I'm trying to parse an excel to get data out of it.

http://search.cpan.org/~hmbrand/Spreadsheet-Read-0.37/Read.pm
http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel-0.55/lib/Spre +adsheet/ParseExcel.pm

Spreadsheet::ParseExcel is the ultimate choice for any one. Please suggest me which one to pick up

Replies are listed 'Best First'.
Re: Which Module to use?
by Corion (Patriarch) on Dec 08, 2009 at 11:56 UTC
Re: Which Module to use?
by Ratazong (Monsignor) on Dec 08, 2009 at 12:04 UTC
      Ratazong:

      I gave you a ++ for your suggestion, but you might want to mention that it's not always a good solution. Some cases where it's not so good:

      • You're on UNIX, Linux or other non-windows server.
      • You don't want to worry about spending an Excel license on a server.

      Then, of course, some people don't trust "automation" so much. Since most applications are written for a human to "drive", there isn't much demand to make them all "automation friendly". So an unexpected dialog box can pop up and hang your application until someone logs into the console to dismiss it. In the early years, automating Excel was a pain, so I opted for Spreadsheet::ParseExcel. I imagine that automating Excel is probably a lot nicer. But I haven't had any reasons to change yet...

      ...roboticus
      Thanks for this. I have also tried this last time I got this kind of problem :) Thanks!
Re: Which Module to use?
by rpnoble419 (Pilgrim) on Dec 08, 2009 at 19:17 UTC
    I'd use Spreadsheet::ParseExcel. John has taken over the support for this module and his support is always on the Mark.