Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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


Comment on Re: Weird excel parsing problem
Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002378]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-08-28 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (259 votes), past polls