Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

Replies are listed 'Best First'.
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]
[davido]: jdporter : Is there a specific issue, or are we all just getting up there?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2018-06-21 16:40 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.