> >         @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

Reply via email to