From: Ken Fox [mailto:[EMAIL PROTECTED]] > > I think we have a language question... What should the following > print? > > my $x = 1; > my $y = \$x; > my $z = 2; > %MY::{'$x'} = \$z; > $z = 3; > print "$x, $$y, $z\n" > > a. "2, 1, 3" > b. "2, 2, 3" > c. "3, 1, 3" > d. "3, 3, 3" > e. exception: not enough Gnomes > > I think I would expect behavior (c), but it's not obvious to me. I would have said (c) as well. And if I can figure it out... it ain't that tricky.
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Uri Guttman
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Dan Sugalski
- RE: What's up with %MY? Garrett Goebel
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Garrett Goebel
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Damian Conway
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Dan Sugalski