develooper Front page | perl.perl5.porters | Postings from September 2010

Re: RFC: What should the behavior be for user-defined casing?

Thread Previous
From:
Eric Brine
Date:
September 1, 2010 11:29
Subject:
Re: RFC: What should the behavior be for user-defined casing?
Message ID:
AANLkTi=feXnDi-wZHRhoxmYQ5CC=yqyY6XzVzj39spr6@mail.gmail.com
On Tue, Aug 31, 2010 at 5:09 PM, Zefram <zefram@fysh.org> wrote:

> karl williamson wrote:
> >So what would a sane behavior look like that didn't break backwards
> >compatibility too much?
>
> Vaguely sane would be to use To{Upper,Lower,Title} functions from the
> package in use at the site of each call that invokes case changing.
> But that's still not  really nice.
>
> -zefram
>

Could fall back to CORE::GLOBAL::ToUpper (or something) if $caller::ToUpper
doesn't exist.

Thread Previous


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