develooper Front page | perl.perl6.language | Postings from June 2001

Re: Coupla Questions

Thread Previous
From:
Simon Cozens
Date:
June 6, 2001 08:48
Subject:
Re: Coupla Questions
Message ID:
20010606164851.A13569@deep-dark-truthful-mirror.pmb.ox.ac.uk
On Wed, Jun 06, 2001 at 04:30:56PM +0100, Simon Cozens wrote:
>     print $a->{test2}; 

Oh, hrm. Shouldn't it be $a{test2}? That works too, at any rate.
Does that mean that arrow between variable and subscript is optional,
or should this be some kind of error? Or should it mean something else
altogether?

-- 
It starts like fascination, it ends up like a trance
   You've gotta use your imagination on some of that magazine romance
And these bones--they don't look so good to me
   Jokers talk and they all disagree
One day soon, I will laugh right in the face of the poison moon              

Thread Previous


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