in reply to Regexing a hash line thing
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regexing a hash line thing
by nutshell (Beadle) on Oct 21, 2002 at 14:40 UTC |