Christopher Browne cbbrowne
Thu Jul 22 14:25:11 PDT 2004
Justin Clift <jc at telstra.net> writes:
> David Fetter wrote:
>> Kind people,
>> I'd like to propose that we require Perl for configuration &
>> installation, rather than doing the kind of wacky machinations that
>> assuming sed-only forces on benighted projects.
> <snip>
>
> Hmmm.  Preferably not, if there are reasonable alternatives.
>
> Would it be a lot more difficult to be done in C, the same as Slony itself?

Writing scripts that write Slony scripts is a task that's all about
banging together chunks of text.

That is the very sort of thing that Perl is pretty good for, and which
C _isn't_, because the "banging together" is rife with error-prone
pointer manipulations.

Python, Ruby, and Tcl would be just as good for the purpose, but with
the significant demerit that Solaris, AIX, and HP/UX don't include
those interpreters, whereas they do come with some flavour of Perl.
-- 
let name="cbbrowne" and tld="ca.afilias.info" in name ^ "@" ^ tld;;
<http://dev6.int.libertyrms.com/>
Christopher Browne
(416) 673-4124 (land)


More information about the Slony1-general mailing list