abc( banana => undef, eat => 'mon' ); sub abc { my %param = ( apples => 'green', banana => 'yellow', @_ ); # now just have to figure out the 'mon' key... # and the banana colour! }