Re: [xml-dev] parsing markup with Perl

From
Ihe Onwuka <>
To
Arjun Ray <>
Date
2014-02-09T05:34:17Z
ID
<CALfs7+zZr0LdRKzm49=>
Thread
Re: [xml-dev] parsing markup with Perl
On Sun, Feb 9, 2014 at 5:03 AM, Arjun Ray <> wrote:
> [Default] On Sat, 08 Feb 2014 14:43:46 +0000, Michael Kay
> <> wrote:
>
> | I get the impression that Perl programmers use regexes as their
> | preferred way of performing almost any task,
>
> Not preferred.  Natural.  This is because regexes are basic to most
> text-processing tasks.  Perl took regexes from AWK (which got the idea
> from SNOBOL and other precursors, as to the centrality and ubiquity of
> pattern matching) and flew with them.
>
> | whereas in most other languages it's something people turn to
> | after considering other options.
>
> Mainly because other languages were not aimed at text (or flat file)
> processing to begin with as a primary consideration.
>

Stating the obvious here but it needs to be repeated lest we are all
labelled Perl haters.

Markup is not text.