my $var :MyAttr = { key => 'value' }; my_func( 1, 'Hi there', $var );