Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Weird excel parsing problem

by BrowserUk (Pope)
on Nov 05, 2012 at 18:54 UTC ( #1002378=note: print w/replies, xml ) Need Help??

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 ,..!!!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002378]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-01-20 14:05 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.