On Wed, May 30, 2012 at 2:37 AM, Nando <
d.n...@gmail.com> wrote:
> I submitted an enhancement request "Default local scope in variables
> declared within functions" that would prevent things like this from
> occurring....
>
https://bugbase.adobe.com/index.cfm?event=bug&id=3198706
FWIW, this functionality has been available in Railo for several year
as an option in the admin (Settings > Scope > Local scope mode:
always). You can also control variable lookup cascading across scopes
(which improves performance as well as forcing you to be more explicit
about scoping variables).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View --
http://corfield.org/
World Singles, LLC. --
http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)