Excel File in PERL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 14anand
    New Member
    • Mar 2007
    • 6

    Excel File in PERL

    Hi friends....
    I need a code in PERL script for converting a text file to a excel file(.xls)....
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    OK, what have you tried so far?

    Comment

    • miller
      Recognized Expert Top Contributor
      • Oct 2006
      • 1086

      #3
      Here's the best module I know of for creating excel files:
      cpan Spreadsheet::Wr iteExcel

      And here's how to install them.
      cpan faq: How to install Perl Modules

      - Miller

      Comment

      • 14anand
        New Member
        • Mar 2007
        • 6

        #4
        Junk values written while Writing Excel in PERL

        hi all...

        I am able to write a excel file from a text file.But some junk value is written in to the columns of the file...

        Comment

        • miller
          Recognized Expert Top Contributor
          • Oct 2006
          • 1086

          #5
          What method are you using to create the Excel file? Are you using a specific cpan module?

          There is no way for us to help you unless you actually tell us exactly what you are doing.

          - Miller

          Comment

          • KevinADC
            Recognized Expert Specialist
            • Jan 2007
            • 4092

            #6
            Originally posted by 14anand
            hi all...

            I am able to write a excel file from a text file.But some junk value is written in to the columns of the file...
            OK, thank you for sharing that exciting news with us.... ;)

            Comment

            • miller
              Recognized Expert Top Contributor
              • Oct 2006
              • 1086

              #7
              14anand,

              Since it appears that this is a continuation of the previous thread that you've started on this forum, I'm merging those two threads.

              If you really want help then you should both start providing more information in your questions, and responding when people offer you their assistance.

              We are not going to be enticed to continue to help you further it if does not appear that you are involved.

              - Miller

              Comment

              • 14anand
                New Member
                • Mar 2007
                • 6

                #8
                Miller,

                thanks for your comments..

                I am able to write an excel file from a text file using Spreadsheet ::WriteExcel module.I am using Split function in Perl to seperate the text and write it in a excel file.When i write it i am getting some junk values also being written in the columns..

                Comment

                • 14anand
                  New Member
                  • Mar 2007
                  • 6

                  #9
                  Writing in Excelsheet using PERL

                  I am able to write an excel file from a text file using Spreadsheet ::WriteExcel module.I am using Split function in Perl to seperate the text and write it in a excel file.When i write it i am getting some junk values also being written in the columns.I don't want these junk values to be printed.Can any one suggest me a solution to this..

                  Comment

                  • amitwadhwa
                    New Member
                    • Jul 2008
                    • 1

                    #10
                    I am trying to write to an excel file repeatedly. I create a new workbook with the SPreadsheet::Wr iteExcel module.

                    I need to close that file, do some more computations, come back and then add to the excel file. Is there a file open option in the module? If not, what is the best way of doing it then?

                    Thanks in advance

                    Comment

                    Working...