Arivu$string="1:one;2:two;3:three"; %hash=grep(/\w+/, split(/(;|:)/, $string));
In reply to Re^2: Create a hash by spliting string
by arivu198314
in thread Create a hash by spliting string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |