in reply to What is (a => b => c) ?
Actually, to be more accurate: You are only correct if strict is off. But since everyone uses strict (right? ;-) ), @x = (a => b => c); is like @x = ("a", "b", c); (note the quotes), and the final "c" also needs to be quoted unless it's a function call.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What is (a => b => c) ?
by Schmunzie (Beadle) on Mar 27, 2015 at 16:04 UTC | |
by jeffa (Bishop) on Mar 27, 2015 at 16:12 UTC | |
by Schmunzie (Beadle) on Mar 27, 2015 at 16:19 UTC | |
by ikegami (Patriarch) on Mar 27, 2015 at 18:17 UTC |