in reply to Simple Subroutine Question

See also the extensive discussions of Preferred technique for named subroutine parameters? and Named Subroutine Parameters: Compile-time errors vs. Run-time warnings.

My own strong preference is for the
    function({ foo => 42, bar => 'baz' });
form. Others will disagree.