[Israel.pm] little bit O.T. :Perl regex vs grep regex

Offer Kaye offer.kaye at gmail.com
Wed Nov 10 13:45:54 PST 2004


On Wed, 10 Nov 2004 22:32:22 +0200, Gaal Yahas wrote:
> 
> Beh, that uses pcre. Might as well call perl -e and be done with it.
> 

I beg to differ :-)
The people most likely to use "grep"  -- beginners -- are the people
least likely to know about "perl -ne'' , or be comfortable using it.
Better that they practise Perl RE's in a familiar setting, after that
they can graduate to using "perl -ne", "perl -pe", 'perl -an -F":"
-e', and the rest of the zoo :-)

Regards,
-- 
Offer Kaye



More information about the Perl mailing list