Help for this page

Select Code to Download


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