Parse tree like data like XML by Perl?

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
Hi all,

I used to embed data in program use something like "case" or
"if..else". But my friend advice me to separate program and data. So I
want to use a tree-like data file like XML.

The question is:
1. Is there any better or easier standardized tree-like data structure
than XML?
2. If XML is better, I am new to it, what shall I learn to use it by
Perl?

Please recommend some tool or reading material about the topic, thanks!

Best regards,
Davy
 


first see this page for xml alternatives(if any in your case)
http://www.catb.org/~esr/writings/taoup/html/ch05s02.html

many modules for Perl XML handling see

http://perl-xml.sourceforge.net/faq/
 

    davyzhu

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…