in reply to Re^6: Adjusting variable context when working with JSON data?
in thread Adjusting variable context when workign with JSON data?

For some reason I thought that `$` was used only for scalar values.

Well, yes. A reference is a scalar variable. It contains one value: The reference (in the old days we might have called it the "address") to something else.

The nature of that "something else" is irrelevant to the typing of the reference -- it is a scalar.

  • Comment on Re^7: Adjusting variable context when working with JSON data?