[thelist] Perl vs. Other tech

Kelly Hallman khallman at wrack.org
Tue Nov 12 14:29:01 CST 2002


On Tue, 12 Nov 2002, MarsHall wrote:

> On Tuesday, Nov 12, 2002, at 11:53 US/Central, Plunkett, Matt wrote:
> > Like we had to trim a field of blank characters, and in Perl you have
> > to regex it, in PHP you simply use the trim method.
>
> PHP has *two* regex modules. Both are compiled into PHP by default:
> Or do those not count for some reason?

He was saying that PHP has a built-in for what he needs a regex to do in
Perl.  And I would echo the sentiment made earlier that while this is
true, Perl's regex capabilities are simple to use and extremely powerful.
While the same power can be harnessed in PHP, it is not so easy.

--
Kelly Hallman
http://wrack.org/




More information about the thelist mailing list