"Marcelo E. Magallon" wrote:
> 
>  A question of my own: why doesn't
> 
>     s/\B.\B/$&$&/g
> 
>  work as I expect, namely abcd -> abbccd.  I really can't figure it out
>  by reading the docs.

I ran smack into this one too.

It works on 5.005_03, but fails on 5.6.1, so I figured it's a bug.
Does anyone have a different version of perl to try it on?

[EMAIL PROTECTED] wrote:
> 
> Maybe Perl golf is useful, after all -- as a QA tool to find
> Perl bugs. :)

-- 
Rick Klement

Reply via email to