Thanks for your answer.
The snippet was just an example.
What I really want(ed) to do was arbitrary regex search/replace.
Martin Lange wrote:
> What I understand: You want to split some data into a pair of key
> and value.
>
> So, just do that:
>
> ($key, $val) = split(/=/, $data);
>
> HTH.
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de