http://qs1969.pair.com?node_id=1180718


in reply to More efficient ways to pass values to a sub routine

You pass a reference to a hash to send_2. This ref is placed into the 1st element of @_ inside the sub. Here is one way to access the hash keys:
sub send_2 { my $args = shift; my $name = $args->{name} || ''; }