note
wanna_code_perl
<p>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 [mod://Spreadsheet::ParseExcel] documentation turned up this section:</p>
<blockquote>
<h3>KNOWN PROBLEM</h3>
<p>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.</p>
</blockquote>
<p>Does that address your problem?</p>
<p>Regarding your code itself, may I suggest you take a careful read through [doc://perlstyle] and consider adopting many of its suggestions.</p>
<code>###########################################################################################################################################################
####All the Formats will be described within this space#####################################################################################################</code>
<p>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.</p>
1052695
1052695