- or download this
my $home = defined( $args->{home} ) ? $args->{home} :
defined($args->{house}) ? $args->{house} :
confess(q{Can't determine home});
- or download this
my $home = $args->{home} // $args->{house} // confess(q{Can't determin
+e home});
- or download this
my $home = $self->can('home') ? $self->home :
$self->can('house') ? $self->house(1) :
confess(q{Can't determine home});
- or download this
my $home = $self->cando('home') // $self->cando('house',1) // confess(
+q{Can't determine home});