$a = { map { $val = some_derivation($_) ? ( $_ => $val ) : () } qw(a b c) };
In reply to Re: Shortcut operator for $a->{'b'}=$b if $b;
by Codon
in thread Shortcut operator for $a->{'b'}=$b if $b;
by rokadave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |