in reply to Re^15: Why? (each...)
in thread Why? (each...)
The context is actually "I still am fuzzy about the difference between “square brackets,” “braces,” and “parentheses.”".
You said parens indicate a list, so that would mean %hash should be used.
sub g { return { ... } } sub h { return { ... } } my %hash = (f ? g : h);
That's wrong wrong wrong.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^17: Why? (each...)
by Argel (Prior) on May 16, 2011 at 21:05 UTC | |
by ikegami (Patriarch) on May 16, 2011 at 21:40 UTC | |
by Argel (Prior) on May 17, 2011 at 00:13 UTC | |
by jffry (Hermit) on May 17, 2011 at 18:55 UTC | |
by Argel (Prior) on May 17, 2011 at 22:49 UTC | |
| |
by ikegami (Patriarch) on May 17, 2011 at 00:29 UTC |