Do you know where your variables are? | |
PerlMonks |
Split string into hashby Anonymous Monk |
on Feb 10, 2011 at 06:07 UTC ( [id://887343]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I tried the string convert to hash in the following format.
$string="1:one;2:two;3:three"; I wrote the code below, but not getting the above hash. Kindly let me know what is the issue, and solution.
now getting output is:
Back to
Seekers of Perl Wisdom
|
|