# Sample implementation # This function returns the first defined() element of its argument list. sub fdef { defined() && return $_ for @_ }