Re: String To Hash Conversion

2008-04-06 Thread Prabu Ayyappan
- 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

Re: String To Hash Conversion

2008-04-05 Thread Gunnar Hjalmarsson
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; $

String To Hash Conversion

2008-04-04 Thread Prabu Ayyappan
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