I think what you are asking for is:
$Target = Function($Params) // $DefaultValue; [download]
In reply to Re: Perl ternary operator style by BrowserUk in thread Perl ternary operator style by David Clarke