- Original Message
From: Gunnar Hjalmarsson <[EMAIL PROTECTED]>
To: beginners@perl.org
Sent: Saturday, April 5, 2008 11:22:41 PM
Subject: Re: String To Hash Conversion
Prabu Ayyappan wrote:
> I want to convert a string into a Hash data structure
>
> For Exam
Prabu Ayyappan wrote:
I want to convert a string into a Hash data structure
For Example
String:
"[['aaa',{27' => '543','21' => '111','Client' => '543','chat' => '111'}]]"
Hash:
[['aaa',{27' => '543','21' => '111','Client' => '543','chat' => '111'}]
C:\home>type test.pl
use Data::Dumper;
$
Hi All,
I want to convert a string into a Hash data structure
For Example
String:
"[['aaa',{27' => '543','21' => '111','Client' => '543','chat' => '111'}]]"
Hash:
[['aaa',{27' => '543','21' => '111','Client' => '543','chat' => '111'}]
>From CPAN I got a module called Convert/PerlRef2String