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

You can start with an array at the beginning:
my @decoded = @{ decode_json($result) };
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: Adjusting variable context when working with JSON data?
by unmatched (Sexton) on Dec 04, 2024 at 17:24 UTC

    I like that you can do this, duly noted. Thanks!