Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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]
[Corion]: Yay, vacation time now - one week off work (but a Perl workshop in the middle ;)) )
[talexb]: TStanley I just realized that I was in your area for a convention back in April. We were at the high school for the weekend, the one with the long driveway. Nice spot.
[TStanley]: I am heading to Arlington, Virginia next week, then I get to spend an entire week at home. Looking forward to that as I will have spent 7 weeks on the road by the end of next week
[talexb]: That's a long road trip. I haven't travelled for business in years.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-06-23 14:19 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (548 votes). Check out past polls.