my $s = ' ABC: 123 xyz: 100 def: YYY aaa: ZZZ'; my %hash= ($s=~/([^ :]+)/g);
In reply to Re: extracting the key value pairs from a string
by waldner
in thread extracting the key value pairs from a string
by mnranjeeth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |