develooper Front page | perl.fwp | Postings from March 2002

Re: TPR1 post-mortem

Thread Previous | Thread Next
From:
Andy_Bach
Date:
March 8, 2002 09:12
Subject:
Re: TPR1 post-mortem
Message ID:
OF9573FA31.A7B0E3B8-ON86256B76.005D8A92@uscmail.dcn
5.6.1
abbcd
5.6.0
abbcd
5.005_03
abbccd
5.005_02
abbccd
5.004_04
abbccd
5.000
abbccd
4.0.1.6p19
abbccd
4.0.1.8p36
abbccd

Andy Bach, Sys. Mangler
Internet: andy_bach@wiwb.uscourts.gov 
VOICE: (608) 261-5738  FAX 264-5030






Rick Klement <rklement@pacbell.net>
Sent by: root@nodots-daemon
03/08/02 09:19 AM

 
        To:     Fun With Perl <fwp@perl.org>
        cc: 
        Subject:        Re: TPR1 post-mortem


"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?

Andrew.Savige@ir.com wrote:
> 
> Maybe Perl golf is useful, after all -- as a QA tool to find
> Perl bugs. :)

-- 
Rick Klement




Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About