Received: from erm1.u-strasbg.fr (erm1.u-strasbg.fr [130.79.74.61]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eB6GWOt35248 for ; Wed, 6 Dec 2000 11:32:24 -0500 (EST) (envelope-from bboett@erm1.u-strasbg.fr) Received: (qmail 17141 invoked by uid 501); 6 Dec 2000 16:52:13 -0000 Date: Wed, 6 Dec 2000 17:52:13 +0100 From: Bruno Boettcher To: Tom Lane Cc: pgsql-sql@postgresql.org Subject: Re: what's wrong with my plperl function? Message-ID: <20001206175213.B7713@erm1.u-strasbg.fr> References: <20001206130158.A7713@erm1.u-strasbg.fr> <6964.976118098@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <6964.976118098@sss.pgh.pa.us>; from tgl@sss.pgh.pa.us on Wed, Dec 06, 2000 at 10:54:58AM -0500 X-Archive-Number: 200012/40 X-Sequence-Number: 371 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....