Interesting. I know that I never wrote stuff like "my $foo = $bar unless $baz", but that was simply because it's not clear what $foo is in the case that it's not $bar (undef? or does it just not exist at all? or something else?). And I like my code to be clear, which is why I generally use a ternary if I want to do a simple assignment on one line.
I never realized it actually causes problems like this, though!
no subject
I never realized it actually causes problems like this, though!