develooper Front page | perl.perl6.language | Postings from May 2005

Re: Circular dereference?

Thread Previous | Thread Next
From:
Autrijus Tang
Date:
May 4, 2005 06:39
Subject:
Re: Circular dereference?
Message ID:
20050504133858.GA59228@aut.dyndns.org
On Wed, May 04, 2005 at 06:24:34AM -0700, Larry Wall wrote:
> Yes, it doesn't immediately deref as an array, so it fails.

Oh.  So autodereference is only one level?  I got it all wrong
in Pugs, then.  I wonder where I got that impression...

> Now @$x would infinite loop according to what I said a couple weeks
> ago, but maybe that's just the "go down one level" form that was
> requested at the time, and @$$x is the "go however many it takes" form.

Err, wait.  So @$$x is different from @{${$x}}?

Thanks,
/Autrijus/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About