Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: named references



On Jun 27,  5:03pm, Oliver Kiddle wrote:
}
} Does anyone else have an opinion on whether namerefs would be a useful
} addition? I'd prefer this to be decided now rather than after I spend
} more time on them.

I think they'd be a very useful addition.  Particularly if you can do:

	typeset -A hash
	hash[key]=value
	nameref 'thing=hash[key]'

Which, of course, would be easily implemented given my scheme of storing
a pointer to the referenced node in the nameref node. :-)

You haven't answered any of my questions from 15059, though ...

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author