"http://links.i6networks.com" <> wrote in
news:3L5Vc.832$ gers.com:
> I want to write a tree and read the tree from one text file by Perl's
> regular expression.
>
> What is the best way to do it in term of speed.
dump a hash of hashes to a file and read it back
> I want to be able to select sub note and search all note and search
> with a sub note.
In your file, or after reading the data into memory?
> It is really like a Forum, but saves everything in one text file.
XML? Altough for a Forum I would recommend a database.
--
John MexIT:
http://johnbokma.com/mexit/
personal page:
http://johnbokma.com/
Experienced programmer available:
http://castleamber.com/
Happy Customers:
http://castleamber.com/testimonials.html