in reply to Hash as Hash Value
In your subroutine, you have to dereference the hashrefs in order to use them.
sub doSomethingUseful { my $args = shift; my $users = $args->{users}; my $domains = $args->{domains}; my $path = $args->{path}; if (keys %$users > 1) { print("I was hoping you'd say that."); } }
|
|---|