Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 (Sexton) 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?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-06-02 02:51 GMT
Find Nodes?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?

    Results (69 votes), past polls