> > @array = ( a=>1, b=>2, 'c', 3 ); > > > > assigns four elements (not six) to @array. > > But won't this cause breakage to existing scripts No. p52p6 will simply translate: x => 'y' to 'x', 'y' > > Note that these semantics still support the popular: > > > > sub hash_like_args { my %args = @_; } > > But they will break the idiom of > > sub list_of_op_value_parameters { > while(my($op,$value) = splice(@_,0,2)) { > # process > } > } The abovemention translation will cover this too. Damian
- Re: RFC 84 (v1) Replace => (stringifying comma) ... Graham Barr
- Re: RFC 84 (v1) Replace => (stringifying com... Clayton Scott
- Re: RFC 84 (v1) Replace => (stringifying comma) ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Hildo Biersma
- Re: RFC 84 (v1) Replace => (stringifying comma) ... Nathan Wiger
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Graham Barr
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Bart Lateur
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... John Porter
- Re: RFC 84 (v1) Replace => (stringifying comma) ... Stephen P. Potter
- Re: RFC 84 (v1) Replace => (stringifying com... John Porter
- Re: RFC 84 (v1) Replace => (stringifying... Dan Sugalski
- Re: RFC 84 (v1) Replace => (stringif... John Porter
- Re: RFC 84 (v1) Replace => (str... Dan Sugalski
- Re: RFC 84 (v1) Replace => ... John Porter
- Re: RFC 84 (v1) Replace => ... Dan Sugalski
- Re: RFC 84 (v1) Replace => ... John Porter