Derrick Spell wrote:

I have an array of hashes that I would like to store in %udat. First of all, is this possible? Second, what is the correct syntax. I have tried:

$udat{AoH} = @AoH;

but the array doesn't seem to be there when I try to retrieve it.

You cant put array there, just an array ref.

$udat{AoH} = [ @AoH ];

works, or maybe

$udat{AoH} = [EMAIL PROTECTED];

- Robert

PS Dont forget %udat will NOT notice deep change eg if you change something inside one of the hashes, you have to force session save with some top-level change maybe something like $udat{changed}++ etc

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to