Re: Feature patch 1 for plperl [PATCH] - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Feature patch 1 for plperl [PATCH]
Date
Msg-id 89142D2E-7EEC-44FA-A048-1BF2C3D814AE@kineticode.com
Whole thread Raw
In response to Re: Feature patch 1 for plperl [PATCH]  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Jan 10, 2010, at 11:17 AM, Robert Haas wrote:

> It's nicer to write:
>
> plperl.on_perl_init='strict,warnings,LDAP,HTML::Parser,Archive::Zip'
>
> rather than:
>
> plperl.on_perl_init='use strict;use warnings;use LDAP;use
> HTML::Parser;use Archive::Zip;'

Well, no, because sometimes I just want to load something and not have functions exported (into whatever namespaces
endsup calling this). So I might have something like: 
   plplerl.on_perl_init='use HTML::Entities ();'

Other times I might want those functions exported.

FWIW, Bricolage has a feature like this, and you can only put stuff on one line. It's been there since 2002 or so. No
onehas ever complained about it; I doubt anyone would complain about this, either. 

Best,

David




pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Typed tables
Next
From: Tom Lane
Date:
Subject: Re: We need to rethink relation cache entry rebuild