On Tue, Nov 8, 2016 at 5:38 AM <derr...@thecopes.me> wrote: > Hi, > > Yes, I was using a ref with my dumper. When i don't do that I don't get > $VAR1 = \{ . > I am still getting an error when I dereference. > > my $name = ${$hash_ref_decode}->{items}[0]{content};
snip This says dereference $hash_ref_decode as a scalar then dereference that value as a hash. Your dumper output (and the name of the variable) seems to show that $hash_ref_decode holds a hashref. In this case, you should probably say my $name = $hash_ref_decode->{items}[0]{content};