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 bindin
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íð
David L. Nicol wrote:
>
>Are there really situations where
>
> $$reference = An Expression;
>
>is clearer than
>
> $reference = \(An Expression);
>
>?
Eric is confused. I don't know about in Perl 6-to-be, but in Perl 5
those two mean totally different things:
$foo = \$bar;
David L. Nicol wrote:
> Assignment to a nonexistent reference becomes an
> alias instead of a copy.
Uh, I dunno. Like Python/Ruby, but without the consistency.
I think special constructs -- defined as NOT doing assignment
-- should be allowed to set up aliases. This includes, e.g. for().
P
/20/2001 1:38 PM
Subject: aliasing a value in a while each loop
"Mark J. Reed" wrote:
>
> Well, other than the fact that the while(each) doesn't do aliasing.
> Since that would be the whole point, ignore that last message.
>
> On Fri, Jul 20, 2001 at 01:21:57PM -0400