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: gaf.linux at gmail.com (Jerry Feldman)
- Date: Tue, 10 Oct 2017 14:09:41 -0400
- In-reply-to: <CAAbKA3VUpJN65PgTAhTvaKrG9TK8-As_ddKMtjyEdTYxvcgRFg@mail.gmail.com>
- References: <mailman.5.1507651204.11387.discuss@blu.org> <293a196951229a42c2ec6128abd7b44f.squirrel@lb01.ci.net> <CAAbKA3VUpJN65PgTAhTvaKrG9TK8-As_ddKMtjyEdTYxvcgRFg@mail.gmail.com>
That is just the way Rich coded it. On Tue, Oct 10, 2017 at 1:50 PM, Bill Ricker <bill.n1vux at gmail.com> wrote: > > 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. > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://lists.blu.org/mailman/listinfo/discuss > -- -- Jerry Feldman <gaf.linux at gmail.com> Boston Linux and Unix PGP key id: 6F6BB6E7 Key fingerprint: 0EDC 2FF5 53A6 8EED 84D1 3050 5715 B88D 6F6B B6E7
- References:
- [Discuss] perl and xml
- From: richb at pioneer.ci.net (Rich Braun)
- [Discuss] perl and xml
- From: bill.n1vux at gmail.com (Bill Ricker)
- [Discuss] perl and xml
- Prev by Date: [Discuss] perl and xml
- Next by Date: [Discuss] perl is dead
- Previous by thread: [Discuss] perl and xml
- Next by thread: [Discuss] perl is dead
- Index(es):