-d $_ and $_ = abs_path($_) or return -1 for $s, $d;