Re: what's wrong with my plperl function?

Поиск
Список
Период
Сортировка
От Bruno Boettcher
Тема Re: what's wrong with my plperl function?
Дата
Msg-id 20001206175213.B7713@erm1.u-strasbg.fr
обсуждение исходный текст
Ответ на Re: what's wrong with my plperl function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: what's wrong with my plperl function?  (Bruno Boettcher <bboett@erm1.u-strasbg.fr>)
Список 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@earthling.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....


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: what's wrong with my plperl function?
Следующее
От: Bruno Boettcher
Дата:
Сообщение: Re: what's wrong with my plperl function?