Hi,

is binding hashes to arrays (or arrays to hashes) legal? If not, please
ignore the following questions :)

    my @array  = <a b c d>;
    my %hash  := @array;

    say %hash<a>;         # b
    push @array, <e f>;
    say %hash<e>;         # f?
    %hash<X> = "Y";
    say [EMAIL PROTECTED];          # ???
    # <X Y> (or X => "Y"?) appended to the end of @array?

It seems to me supporting this is hard to get right...


--Ingo

-- 
Linux, the choice of a GNU | Mr. Cole's Axiom: The sum of the
generation on a dual AMD   | intelligence on the planet is a constant;
Athlon!                    | the population is growing.  

Reply via email to