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


in reply to Weird excel parsing problem

Any ideas what can cause such a problems ??

You are almost certainly suffering from whitespace differences.

Try printing both values like this:

print "'$ray' '$worksheet->{Cells}[$row][1]->{Val}'"; ## Pay special a +ttention to the quotes

With this quoting, the issue should become obvious.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Replies are listed 'Best First'.
Re^2: Weird excel parsing problem
by reaper9187 (Scribe) on Nov 05, 2012 at 19:04 UTC
    It was a whitespace issue but only in some of the values .. Anyways its working fine now ... thnk you evryone for your prompt replies and valuable guidance .. it because of this that i love this place... :) sometimes the tiniest details matter the most .. Thanks everyone ,..!!!