At 08:26 PM 1/4/2002 -0800, Brent Dax wrote:
>Jeff G:
># new P0,PerlHash
># set P0,-6,"foo" # Store the value -6 in key 'foo' of the hash P0
># set I0,P0,"foo" # Recover the value at "foo"
>
>How do you do these?
>
>         P1=P0{foo}
>         P0{foo}=P1

set P1, P0, ["foo"]
set P0, ["foo"], P1

is what I'm thinking at the moment. P1 has (or should have) a null key 
which can be omitted if the syntax is clear to the assembler. (It's always 
there for the bytecode)


                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to