Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Building a tree 1 leaf at a time

by delirium (Chaplain)
on Jan 12, 2012 at 20:21 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-24 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found