pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Boettcher <bboett@erm1.u-strasbg.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: what's wrong with my plperl function?
Date: Wed, 6 Dec 2000 17:52:13 +0100
Message-ID: <20001206175213.B7713@erm1.u-strasbg.fr> (raw)
In-Reply-To: <6964.976118098@sss.pgh.pa.us>
References: <20001206130158.A7713@erm1.u-strasbg.fr>
	<6964.976118098@sss.pgh.pa.us>

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....



view thread (4+ messages)  latest in thread

Message-ID: <20001206175213.B7713@erm1.u-strasbg.fr>
Permalink:  ../20001206175213.B7713@erm1.u-strasbg.fr/
Also on:    postgresql.org/message-id/20001206175213.B7713@erm1.u-strasbg.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: bboett@erm1.u-strasbg.fr, tgl@sss.pgh.pa.us
  Subject: Re: what's wrong with my plperl function?
  In-Reply-To: <20001206175213.B7713@erm1.u-strasbg.fr>
  References: <20001206130158.A7713@erm1.u-strasbg.fr> <6964.976118098@sss.pgh.pa.us> <20001206175213.B7713@erm1.u-strasbg.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox