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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Values of Formulas also not preserved with save parser ?
by wanna_code_perl (Friar) on Sep 06, 2013 at 14:26 UTC

    I'm not sure what your question is, but the title of the node seems to indicate a question about preserving formula values. A quick check of the Spreadsheet::ParseExcel documentation turned up this section:

    KNOWN PROBLEM

    This module can not get the values of fomulas in Excel files made with Spreadsheet::WriteExcel. Normaly(sic) (ie. By Excel application), formula has the result with it. But Spreadsheet::WriteExcel writes formula with no result. If you set your Excel application "Auto Calculation" off. (maybe Tool-Option-Calculation or something) You will see the same result.

    Does that address your problem?

    Regarding your code itself, may I suggest you take a careful read through perlstyle and consider adopting many of its suggestions.

    ###################################################################### +##################################################################### +################ ####All the Formats will be described within this space############### +##################################################################### +#################

    Finally, you have lines that are 155 characters long, which is rather hard to read. Perl is generally quite permissive with whitespace, so I suggest you insert some line breaks at logical places to keep your lines under 80 characters (or pick a different length, but IMHO 80 is plenty for Perl). Lines longer than that can be very hard to comprehend, even if someone happens to have their terminal/editor set wide enough to display them without breaks/scrolling.

      Finally, you have lines that are 155 characters long, which is rather hard to read. Perl is generally quite permissive with whitespace, so I suggest you insert some line breaks at logical places to keep your lines under 80 characters (or pick a different length, but IMHO 80 is plenty for Perl). Lines longer than that can be very hard to comprehend, even if someone happens to have their terminal/editor set wide enough to display them without breaks/scrolling.

      I agree long lines are horrible, but with line wrapping, formatting characters on, and line numbers turned on, long lines are easier but not easy, to work with.
Re: Values of Formulas also not preserved with save parser ?
by keszler (Priest) on Sep 06, 2013 at 12:33 UTC
    And the question is?