Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am new to perl.I have a text file.I want to read it into hash and array.Please help
{ "InstanceStatuses": [ { "InstanceId": "i-308c0b3c", "InstanceState": { "Code": 16, "Name": "running" }, "AvailabilityZone": "us-west-2b", "SystemStatus": { "Status": "ok", "Details": [ { "Status": "passed", "Name": "reachability" } ] }, "InstanceStatus": { "Status": "ok", "Details": [ { "Status": "passed", "Name": "reachability" } ] } } ] }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading a text file into hash
by pme (Monsignor) on Jun 30, 2015 at 08:23 UTC | |
by Anonymous Monk on Jun 30, 2015 at 09:01 UTC | |
|
Re: reading a text file into hash
by ww (Archbishop) on Jun 30, 2015 at 18:04 UTC | |
|
Re: reading a text file into hash
by Anonymous Monk on Jun 30, 2015 at 07:57 UTC | |
|
Re: reading a text file into hash
by Anonymous Monk on Jun 30, 2015 at 08:37 UTC | |
by marto (Cardinal) on Jun 30, 2015 at 08:44 UTC | |
by Discipulus (Canon) on Jun 30, 2015 at 08:44 UTC |