Front page | perl.perl5.porters |
Postings from March 2000
Re: Exotic bug in local?
Thread Previous
From:
Nathan Torkington
Date:
March 22, 2000 21:23
Subject:
Re: Exotic bug in local?
Message ID:
14553.43383.113296.943731@prometheus.frii.com
Tom Christiansen writes:
> I can understand that it destroys them if you say
>
> $#a = 4;
>
> But I don't understand why it pretends not have seen the local().
Me neither. If you print
\$#a
you'll see that it doesn't change inside the block after the local().
That's a sign that local() isn't successfully localizing it.
Nat
Thread Previous