develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000317.003] missing slice of reference

Thread Previous | Thread Next
From:
JVromans
Date:
March 18, 2000 07:27
Subject:
Re: [ID 20000317.003] missing slice of reference
Message ID:
m2bt4cb8of.fsf@phoenix.squirrel.nl
"M.J.T. Guy" <mjtg@cus.cam.ac.uk> writes:

> Once you've accepted @x->[2] as a shorthand for (\@x)->[2],

I know a much better shorthand for (\@x)->[2]: $x[2].

> these are all features.

Even: print scalar(@cast)->{age}->{name}; \N{GREAT QUESTIONMARK}

-- Johan

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