Rafael,
CPAN #24027 is caused by the technique of evaluating a match
between
the switch and the case value inside an anonymous sub that's
generated
in place of the case. All the variables set the pattern
matching
operation are lost. I have a tentative fix for this, but
it'll need
more extensive tests than that other bug..
[[What's the point in distributing such an add-on with the
Perl
distribution if it is practically impossible (if Damian
Conway can't
do it, who can) to make it work?]]
Cheers
Wolfgang
On 2/26/07, Wolfgang Laun <wolfgang.laun gmail.com> wrote:
> On 2/25/07, Rafael Garcia-Suarez <rgarciasuarez gmail.com> wrote:
> >
> > Thanks, applied to bleadperl as change #30397.
I'll also release
> > another Switch release on CPAN; that solves at
least one of the bugs
> > on rt.cpan.org.
> >
> Apparently not CPAN's bug #24027, but a sarch for
"switch" or "case"
> didn't produce anything else. - I'll have a look at
#24027, if you
> don't mind
>
> kr
> Wolfgang
|