Tom, seems like this patch helps plperl, so I applied it.
> On Mon, Aug 28, 2000 at 10:00:36AM -0400, Tom Lane wrote:
> > Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> writes:
> > > This patch, when applied in src/pl will unbreak plperl in
> > > 7.0.2 release. Sorry, if that's fixed ages ago - I don't track
> > > development versions of PostgreSQL.
> >
> > The issue isn't so much that it's "broken" as that we've seen severe
> > portability problems with it --- it doesn't work on all platforms or
> > all releases of Perl. What do your proposed changes do for or against
> > that issue?
>
> I really don't have many platforms for testing available here. I'll
> try FreeBSD 4.1-STABLE and probably 3.5-STABLE. Those come with older
> (and currently much more used) perl 5.005. No Linuxen of whatever
> else, sorry.
>
> These changes work around some nasty compile-time errors. The author
> either had a very weird distribution of perl (home-made?) or
> maybe just didn't have time to finish work (which is strange as one
> can see from "complexity" of my patch).
>
> Anyway, there aren't so many releases of perl available, really.
> 5.005 and 5.6.0 are surely the only ones to care about.
>
> I just loved the idea of writing functions in Perl, and it works for
> me now. Someone is likely to want it too, so I posted. Thanks for the
> wonderful PostreeSQL, folks!
>
> --
> Alex Kapranoff, Voice: +7(0832)791845.
> 125 days till brand new millenium...
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026