develooper Front page | perl.perl5.porters | Postings from March 2007

Re: $& in diagnostics.pm

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 15, 2007 09:47
Subject:
Re: $& in diagnostics.pm
Message ID:
b77c1dce0703150946m8644915gd3b52850c10295b8@mail.gmail.com
On 15/03/07, Andy Lester <andy@petdance.com> wrote:
> >
> > Ooh look a real-world test for a blead feature.
> >
> > Could you try this ?
>
> I'm sorry, I really can't.  Chasing down problems like this has been
> eating all my tuits lately.

Duh. Anyway, that equivalent line should do it:
$toks[$i] =~ s/^(.*)$/\Q$1\E/;

> It would really be swell if we could get a non-blead-specific patch,
> too.  Maybe even dual-life it?  Do I need to volunteer to dual-life
> diagnostics?  It looks like it's already been tried: http://
> search.cpan.org/~jforget/diagnostics-1.2-alpha1/

I shall mention that to M. Forget next time I see him.

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