in reply to Variable scope in ternary ?: operator not propagating?
my $var = $var; # Start with the $var from the enclosing scope. local $_ = $_; [download]
Abigail