http://www.perlmonks.org?node_id=1043175


in reply to How to read Array

As others have said ... what you have is a JSON-encoded string, and so the first thing that you need to is to “decode” it into the equivalent Perl data structure.   There are two subtly-different ways to do that:   from_json() and decode_json(), as eloquently discussed in JSON.