[pm-h] Discussion about delimiters for m//
lee latham
rasto at cm4msaa7.com
Sat Feb 15 23:44:55 PST 2014
I just learned that fairly recently. I want Mark to know I would have
written it differently if I'd thought anybody would actually still be using
it today.
I really can't believe it. But now I know.
lee
On Sun, Feb 16, 2014 at 12:49 AM, Mark Allen <mrallen1 at yahoo.com> wrote:
> > The funny thing about Perl is that the code you write seems to stick
> around a lot longer than you > would have imagined.
>
> It's not just Perl. Pretty much any code I've written for $JOB that does
> something useful tends to take on a life of its own.
>
> I think it is both insane and wonderful that Perl allows one to match a
> regex using a literal 'm' as delimiter. I tend to use m|| myself but I
> know m{} is also in vogue.
>
> Mark
>
> _______________________________________________
> Houston mailing list
> Houston at pm.org
> http://mail.pm.org/mailman/listinfo/houston
> Website: http://houston.pm.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/mailman/private/houston/attachments/20140216/5698ea3b/attachment.html>
More information about the Houston
mailing list