And then massage $key and $val to remove quotes and escapes, if needed.my ($key, $val) = split /\s*=>\s*/, $text, 2; $Data{$key} = $val;
-- Dan
In reply to Re: Regexing a hash line thing
by zigdon
in thread Regexing a hash line thing
by nutshell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |