in reply to A cleaner way of scoping variables

my $bar = $foo ? "true" : undef; ?