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

$pair[0]?

Thread Next
From:
Ingo Blechschmidt
Date:
August 4, 2005 14:52
Subject:
$pair[0]?
Hi,

    my $pair = (a => 1);
    say $pair[0];  # a?
    say $pair[1];  # 1?

I've found this in the Pugs testsuite -- is it legal?


--Ingo

-- 
Linux, the choice of a GNU | Black holes result when God divides the
generation on a dual AMD   | universe by zero.  
Athlon!                    | 


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