in reply to Mystery interaction between split and gobbling arrays
G'day saintmike,
The behaviour's the same without split:
$ perl -E 'my ($x, @y) = (1,2,); say $#y' 0
or even
$ perl -E 'my ($x, @y) = (1,2,,,,,); say $#y' 0
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mystery interaction between split and gobbling arrays
by saintmike (Vicar) on Jun 17, 2015 at 23:14 UTC | |
by kcott (Archbishop) on Jun 18, 2015 at 04:23 UTC | |
by saintmike (Vicar) on Jun 18, 2015 at 17:25 UTC | |
by kcott (Archbishop) on Jun 19, 2015 at 05:44 UTC |