foo (%hash); sub foo { my %passed_hash = @_; # do stuff }