On Thursday, June 27, 2024, Martin D Kealey <mar...@kurahaupo.gen.nz> wrote:
> [...] That's too much to read and Perl is not a good example to follow. Why not extend the arithmetic expansion syntax to allow generating multiple results when subscripting indexed arrays? Like `${a[1; 2; 4]}', `${a[3..5; 7]}', `${a[1..10..3]}', etc. These would expand like `$@' when in double quotes and like `$*' when being assigned to a variable. -- Oğuz