[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: commit-email.pl getting harder to install

From: Benjamin Reed <ben_at_opennms.org>
Date: 2002-07-07 20:07:37 CEST

Daniele Nicolodi [daniele@grinta.net] wrote:
> I agree on that. Is completely unusefull have a complex script when
> the 90% of users don't use his fancy features. If the author of
> commi-email.pl is too busy i can do that splitting.

Another possibility is to demand-load perl modules, and make the "fancy"
options optional. If written properly, the commit script could check for
those extra modules it wants at runtime, and disable functionality if it's
not there. You can do something like:


eval {
        require Storable;
if ($@ !~ /Can't locate/) {
        $USE_STORABLE = 1;

...to achieve this.

Just a suggestion. =)

Benjamin Reed (ben_at_opennms.org) - http://www.opennms.org/
Boy is it cramped... whoooee!  I tell ya, if I was dead, you most certainly
could NOT swing me around in HERE.  -- Cat
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 7 20:09:39 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.