$self->doSomething({
record => $record,
listing => [ $foo, $bar, $baz ],
passedargs => { something => $val, another => $val2 }
});
accessing args within a hashref.
So if I wanted to access record I would
my $record = $args->{record};
If I wanted to access listing I would
my @listing = $args->{listing};
How would I access Passedargs? If I just wanted to access "something" or "another"?