Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Building a tree 1 leaf at a time

by delirium (Chaplain)
on Jan 12, 2012 at 20:21 UTC ( #947627=note: print w/ replies, xml ) Need Help??


in reply to Building a tree 1 leaf at a time

The solution you came up with does seem to work... but how did the header file get generated in the first place? Why is a flatfile being generated to reference an XML file? That just seems wrong.

But more importantly, why do you not want to use what you came up with? Is it slow? What size files are we talking about?


Comment on Re: Building a tree 1 leaf at a time
Re^2: Building a tree 1 leaf at a time
by markdibley (Acolyte) on Jan 13, 2012 at 12:13 UTC
    The file comes from an excel file compiled by someone in an office. The header has to be manually corrected. It is the only format people are qualified to generate. As for why I asked - because I know in Perl there is more than one way and it looks like there is something new to learn if I can wrap my head round XSH2. Thanks for the reply delirium and thanks for the suggestion choroba.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2014-10-23 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (123 votes), past polls