On Friday, June 28, 2024, Martin D Kealey <mar...@kurahaupo.gen.nz> wrote:

> modern Perl scripts
>

No such thing. Perl is a dead language, and for good reason.

 Why limit this to subscripts?
>

Where else do you need it?


> Why not use that for generating lists directly?
>

Doesn't brace expansion already do that?

Why limit this to numeric indexing?
>

Because you can implement it without breaking old scripts, `a; b' is a
valid associative array key.


> Why not support associative arrays?
>

No way to do that without making array expansion syntax ten times uglier or
completely changing it. Bash is too good to ruin like that.


-- 
Oğuz

Reply via email to