which inserts either zero or two elements into the list of key-value pairs, depending on the condition.$i ? () : ('abc' => 7)
Dave.
In reply to Re: Initializing a hash using conditions
by dave_the_m
in thread Initializing a hash using conditions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |