in reply to Two simple code style advice questions

I prefer only the following

1.Initializing a hash

my %ntests = map { $_ => 0 } @tests;

2.Setting a string to a value or the empty string

my $mol = ($n == 42) ? "forty two" : ""