That's something you will have to get used to as it's a fundamental syntax in perl. $decoded is a reference to an array. To dereference it you just put a @ at the front. e.g. $x = [1,2,3]; @array = @$x. You can also put squiggles around the reference if that makes it clearer and in some cases this is needed, like @{$decoded}.
In reply to Re^3: Adjusting variable context when working with JSON data?
by Danny
in thread Adjusting variable context when workign with JSON data?
by unmatched
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |