in reply to Multiple identical keys in a hash.
I might be misunderstanding the question, but it sounds like you asking if you can assign $hash{'key'} = "something"; and then later assign $hash{'key'} = "something_else";
This is not possible. You could put it in an array if it already exists, like $hash{'key'} = ( exists $hash{'key'} ) ? [ $hash{'key'}, "more" ] : "else"; but then you have to test each value before you use it. Unless, you just always put it in an array, ie $hash{'key'} = ( exists $hash{'key'} ) ? [ $hash{'key'}, "more" ] : ["else"];
Hope that wasn't too far off from the question...
--4c6966653a205468652073656172636820666f 7220746861742070657266656374204765656b 20436869632c20746865206f6e652077697468 2074686520737061726b6c696e672065796573 2077686f20706c617973206973207261696e2e
|
|---|