Before you run off and write a treatise on your objections to or any
further implementation inconsistencies you've found with this, because
I know there are some, please allow me to finish reconstructing some
of the basis here. I may be able to resolve the question to
everyone's satisfaction without subjecting the rest of the list to
another lengthy dispute.
A good start would be to state what exactly an assignment to a reference that refers to a not-yet-defined variable is supposed to do. Nothing? Create a variable? In which scope?
I'm truly flabbergasted that creating a global variable is NOT the answer, since that's what the implementation does, what ksh does, and what I inferred from the documentation.
Philippe