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

I think you're going to need retrieve and store ops:

        retrieve P1, P0, "foo"
        store P0, "foo", P1

And no, you can't just figure it out by the position of the string
parameter:

        set P1, P0, "foo"               #ok
        set P0, "foo", P1               #ok
        set P0, P1, P2          #huh?

--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6

"Nothing important happened today."
    --George III of England's diary entry for 4-Jul-1776

Reply via email to