Re: what's wrong with my plperl function?

From: Bruno Boettcher <bboett(at)erm1(dot)u-strasbg(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: what's wrong with my plperl function?
Date: 2000-12-06 16:52:13
Message-ID: 20001206175213.B7713@erm1.u-strasbg.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Dec 06, 2000 at 10:54:58AM -0500, Tom Lane wrote:
> I'm confused too...
:D

> I don't see why print wouldn't work. Realize however that it will
> go to the postmaster's stdout, so you'd better not have started the
yep found it in the log....

> Also, it looks like plperl supports elog(NOTICE, "text") and
> elog(ERROR, "text"), though I haven't tried 'em.
that does it!
but another strange thing:

first step 1.000.000
second step
final step

code was
print "first step $work\n";
$work =~s/\.//g;
print "second step $work\n";
$work =~s/\,//g;
print "final step $work\n";

seems the =~ isn't supported..... ? :(
tryed even this:
$_ = $work;
s/\.//g;
$work =$_;

but same.... this is basic perl.... at least i thought so...

--
ciao bboett
==============================================================
bboett(at)earthling(dot)net
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Boettcher 2000-12-06 16:59:09 Re: what's wrong with my plperl function?
Previous Message Shane McEneaney 2000-12-06 16:49:16 CallableStatement