Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^11: How best to strip text from a file?

by bobdabuilda (Beadle)
on Nov 13, 2012 at 00:26 UTC ( #1003526=note: print w/replies, xml ) Need Help??

in reply to Re^10: How best to strip text from a file?
in thread How best to strip text from a file?

Just wanting to add that I found the issue with the XLS file is related to cells being written to twice in the code (according to the WriteExcel author id:710537 - check the link later on in the thread by him pointing to the Google Groups thread).

So I went hunting, added an extra $row+=1 in early on in the piece in order to see what's going on... and it appears that my duplicate logic is working, to a point - with the additional line increasing my row number, I now get still just the Year and PO number - but I am getting one each for each of the PO's in the DATA. I put an extra few duplicates of the same data in to check - and still only got one copy of each of the Year and PO's... so I guess that's kinda a good thing. Now just need to work out why it's skipping the rest, so now I'm off to go about pulling it apart again to try and work this out...

Scarily, I think I'm starting to enjoy this... lol

  • Comment on Re^11: How best to strip text from a file?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003526]
[choroba]: Ouch, trailing commas in JSON :-(
[LanX]: ... though there seems to exist a taxation for the letter 't' in Northern Bri''ain ;-)
[LanX]: never seen trainspotting in OV ... :(
[karlgoethebier]: LanX
[LanX]: They should teach Scottish in continental schools after Brexit !!!

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2018-02-19 10:47 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (261 votes). Check out past polls.