in reply to Re: Mystery interaction between split and gobbling arrays
in thread Mystery interaction between split and gobbling arrays
Here's one more: What's the difference between
and( $a, $b, $c ) = split /:/, $str;
when $str = "foo:bar:"?( $a, $b, $c, @options ) = split /:/, $str;
Spoiler: Adding @options to the left hand side makes $c undef'd!
|
|---|