bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: param expansion with single-character special vars in the environmen


From: Piotr Grzybowski
Subject: Re: param expansion with single-character special vars in the environment
Date: Wed, 27 Apr 2016 18:22:29 +0200

Hi,

On 27 Apr 2016, at 14:41, Grisha Levit wrote:

> Once you convert the variable to a reference, you can control its value by 
> modifying the value of a different variable with the name that corresponds to 
> the value of the readonly variable, so “access to the referenced variable 
> should honor its attributes” probably won’t do much (If I understand your 
> suggestion correctly).

 well, now after having looked at the code I am not that smart anymore.
 I see your point, but on one hand you are creating this reference loop on 
purpose, yet still something should be forbidden here. I like the idea of the 
references less and less, especially at the current state of the affairs in the 
variable model the introduction of these constructs is risky.
 Maybe it is possible to do it in a smart way.

cheers,
pg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]