Help for this page
$var = !exists $hash{key} || $hash{key} eq "0" ? 0 : 1;
$var = ($hash{key} // 0) eq "0" ? 0 : 1;
$var = $hash{key} ? 1 : 0;