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: richb at pioneer.ci.net (Rich Braun)
- Date: Tue, 10 Oct 2017 14:23:45 -0700
- In-reply-to: <mailman.13609.1507658984.10503.discuss@blu.org>
- References: <mailman.13609.1507658984.10503.discuss@blu.org>
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. Jerry wrote: > That is just the way Rich coded it. Thanks, Jerry. The request didn't seem to call for a full-blown python program, just a short script. Part of the appeal of python is that, like bash or perl, it can be used for quick-hack scripts. If you guys want to pick apart an OO program that I wrote recently, below is a link. But that takes us way beyond the scope of the original post, which was a how-to-update-XML query posed as a perl query but to my mind didn't exclude solutions in other widely-available languages. And yes, I realize perl is just as widely available as python; a lot of people don't realize that the converse is true (that python is as widely available as perl: they go hand-in-hand like vim and bash). https://github.com/instantlinux/docker-tools/blob/master/images/mariadb-galera/src/entrypoint.py -rich
- Follow-Ups:
- [Discuss] perl and xml
- From: smallm at sdf.org (Mike Small)
- [Discuss] perl and xml
- Prev by Date: [Discuss] perl is dead
- Next by Date: [Discuss] perl and xml
- Previous by thread: [Discuss] perl is dead
- Next by thread: [Discuss] perl and xml
- Index(es):