PriNet has asked for the wisdom of the Perl Monks concerning the following question:
I'm thinking there is a way using "map" to fix the JSON string, but I can't find any references to that affect on the internet. I'm going to continue searching here in hopes that someone knows an answer. Thanx again, you guys are always a bunch of help...sub QueryData { $QD_In = $_[0]; @QD_Pair = split('&',$QD_In); %QD_Out = map{split('=',$_,2)} @QD_Pair; return (%QD_Out); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: JSON to HASH
by BrowserUk (Patriarch) on May 15, 2016 at 04:38 UTC | |
by PriNet (Monk) on May 15, 2016 at 04:57 UTC | |
by BrowserUk (Patriarch) on May 15, 2016 at 06:32 UTC | |
by PriNet (Monk) on May 15, 2016 at 06:49 UTC | |
by PriNet (Monk) on May 15, 2016 at 22:34 UTC | |
by AnomalousMonk (Archbishop) on May 15, 2016 at 23:23 UTC | |
|