From: shawn bright Date: 2008-02-07T10:23:28+09:00 Subject: how to put hash values in function Hey there, i have an example function from documentation. it looks like this do_something(SomeValue, 2 => 'value', 3 => 'value', 4 => 'value', someVar, someOtherVar) now if i have a hash that has more or less values than the 3 shown above, how could i pass those to the function where the index => value is placed into the function ? exp: if i have myHash = {2 => 'value', 3 => 'value', 4 => 'value'} how could i put these values in the array ? thanks sk