S
shawn bright
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
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