> > This makes sense as $beers is not a set variable.  {$beer}s works too
> > though, seems okay that both work.  Anyway, this isn't an array ;-))
> 
> OK, can you give an example you can do with ${} but you can't with
> {$} and the opposite? Would be nice to clear at least my mind about
> that :) We may include an example in the manual to show people
> why we have two "frighteningly" similar things for the same thing
> 
> echo "this is ${bar}";
> echo "this is {$bar}";

Hmm :)  Variable variables come to mind but then again ${$var} can be seen
as a mix of both :)

The simple/complex separation seems to show people what you can and cannot
do with {braces}.  That's what comes to mind at least. *shrugs* It all
seems "complex".  Through the coming days I'll give it more thought :)

Regards,
Philip Olson


Reply via email to