in reply to passing of variables
# call the sub with a local hash play_around( \%toys ); sub play_around { my ( $t ) = @_; $t->{ leggo } = 'yes'; # this will modify the actual %toys which is what I want. } [download]