I get the same result as you (aBcD) when I run 5.6.1 on solaris. So it looks
like the aliasing mechanism switched from 5.004 to 5.6.1.

Amir Karger
CuraGen Corporation 

> -----Original Message-----
> From: Mtv Europe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 1:13 AM
> To: Karger, Amir
> Subject: Re: for(sort@a){...} affects @a
> 
> 
> Hello Amir!
> 
> On 10 Apr 2002, you wrote in perl.golf:
> 
> > Some more data?
> > 
> >>perl -wle '%a=qw(a b c d); for(%a){s/./uc$&/e};print %a'
> > abcd
> 
> aBcD on v5.6.1 ActiveState build 626, the same for sorted hash:
> 
> %a=qw(a b c d); for(sort%a){s/./uc$&/e};print %a
> 
> ----
> Mtv Europe
> 
> 
 
LEGAL NOTICE - Unless expressly stated otherwise, this message is
confidential and may be privileged. It is intended for the addressee(s)
only. Access to this e-mail by anyone else is unauthorized. If you are not
an addressee, any disclosure or copying of the contents or any action taken
(or not taken) in reliance on it is unauthorized and may be unlawful. If you
are not an addressee, please inform the sender immediately.

Reply via email to