BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] perl and xml
- Subject: [Discuss] perl and xml
- From: bill.n1vux at gmail.com (Bill Ricker)
- Date: Tue, 10 Oct 2017 13:50:38 -0400
- In-reply-to: <293a196951229a42c2ec6128abd7b44f.squirrel@lb01.ci.net>
- References: <mailman.5.1507651204.11387.discuss@blu.org> <293a196951229a42c2ec6128abd7b44f.squirrel@lb01.ci.net>
> root[0][0].text = 'good_tag_001' So much for Python supposedly being more OO than Perl. That looks more like Visual Basic. The hard part in his problem is navigating from sibling to extract the 'good_tag_001' from to the sibling to insert it into. Your "example" gives no hint on how that might work. XML::Twig is particularly good at that sort of local navigation, hence my suggestion for that. He asked for Perl help. If one were going to suggest a superior language despite his request, any answer that isn't in the Lisp family (that includes Haskell) is silly, because Lisp structure is a natural match to XML. XML is just Lisp with no verbs, bent brackets, and named closing parens </tag>. XML is Greenspun's 10th Law incarnate. > parsing XML, and python is part of the base Linux distro in most environments. It may come as a surprise, but most GNU/Linux distros still ship Perl too. Rumors of Perl's death are greatly exaggerated. Perl6 hasn't killed Perl5 but revived it. By rotating release manager, we now have annual feature releases in addition to patch releases.
- Follow-Ups:
- [Discuss] perl is dead
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] perl and xml
- From: gaf.linux at gmail.com (Jerry Feldman)
- [Discuss] perl is dead
- References:
- [Discuss] perl and xml
- From: richb at pioneer.ci.net (Rich Braun)
- [Discuss] perl and xml
- Prev by Date: [Discuss] Treasurer's report
- Next by Date: [Discuss] perl and xml
- Previous by thread: [Discuss] perl and xml
- Next by thread: [Discuss] perl and xml
- Index(es):