CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [Zhris] Parse JSON with PERL: Edit Log



robertico
Novice

Mar 21, 2013, 10:00 PM


Views: 781
Re: [Zhris] Parse JSON with PERL

Hi Chris

I'm stuck with this part;


Code
$VAR1 =  
{
'from_id' => 999,
'message_id' => 1000,
'to_id' => 0,
'message' => 'This is a sample'
};


I'm new to PERL and I can't find a solution to extract the 'key' and the 'value' in separate parts (variables) from $VAR1.

Were can I find more information about this or can you give me a hint?

Robertico


(This post was edited by robertico on Mar 21, 2013, 10:14 PM)


Edit Log:
Post edited by robertico (Novice) on Mar 21, 2013, 10:14 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives