Re: perlsub

From: Nabil Sayegh <postgresql(at)e-trolley(dot)de>
To: Martin Lange <martin_vi_lange(at)t-online(dot)de>
Cc: Nabil Sayegh <postgresql(at)e-trolley(dot)de>, pgsql-novice(at)postgresql(dot)org
Subject: Re: perlsub
Date: 2003-10-05 16:53:04
Message-ID: 3F804C70.3000400@e-trolley.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Daniel Staal 2003-10-05 17:23:22 Re: perlsub
Previous Message Martin Lange 2003-10-05 13:03:17 Re: perlsub