; assuming uniqueness in keys and order doesn't matter. Just something to consider.%F = split /=/, $str;
--
perl -pew "s/\b;([mnst])/'$1/g"
In reply to Re: Splitting on Every Second Occurence
by belg4mit
in thread Splitting on Every Second Occurence
by mt2k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |