It's DWIMery in action. The => fat comma works the same way a comma works with respect to empty args. In other words, @array = ( 1 ,, 2, 3 ); creates a three elemnt list too (not four). If you want an undef element spell it out: undef.
Dave
In reply to Re: Why don't extra arrows in a list screw up hash creation?
by davido
in thread Why don't extra arrows in a list screw up hash creation?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |