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

Re: Exotic bug in local?

Thread Previous
Nathan Torkington
March 22, 2000 21:23
Re: Exotic bug in local?
Message ID:
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
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.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About