alias(%foo, %bar) is better IMO since it conforms to other functions in
perl.
my %foo is alias = %bar;  #seems a little out of scope of the language,
unless more functionality is implemented in that way.

Ilya

-----Original Message-----
From: Davíð Helgason
To: [EMAIL PROTECTED]; John Porter
Sent: 7/20/01 2:25 PM
Subject: Sv: aliasing a value in a while each loop

John Porter wrote:
> Perhaps a simple
> 
> alias( %foo, %bar );
> 
> for those times when you really just need a simple WTDI!

Would 

     alias %foo = %bar;

not be ok, 'alias' acting and binding like 'my' of course. Or 

     my %foo is alias = %bar;


No?


/davíð

Reply via email to