[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple variable reference
Paul> if you have
Paul> foo = a b
Paul> $foo = 1 2 3
Paul> then it makes sense that
Paul> $foo
Paul> would expand to
Paul> 1 2 3
I would certainly hope $foo will expand to `a b', while $$foo should
expand the way you said.
Paul> opinions?
Sounds reasonable to me, otherwise.
BTW, one side effect of having multiple assignments, I realized
lately, is that the user who mistakenly types
; make CC=gcc all
will be surprised to see nothing at all happening. Now, at least an
error message will result. Hmmm...
set-make = @ {throw error $0 'Did you want to run make?'} # :-)
- Harald