> At 18:55 31-12-2000 +0100, Gunnar Hjalmarsson wrote: > > > >CGR Online wrote: > >> > >> Here's an Idea. Weather it's a good one or not is not the case > >> (thank goodness). Having two distrobutions. One for .pl users and > >> one for .cgi users. Just an thought. > > > >Don't agree. I have struggled to avoid multiple distributions. > > How about this as an alternative (though it involves a bit of PERL coding > for someone). > > There are basically two variables for everyone; one is the PERL location, > for which there are probably four or five standard choices at most, and the > other is the filename suffix .cgi or .pl - everything else is configured by > the user in the .pm file. > > Only one set of code is put on the server. However when people come to > download it, they select the customisations they need, and then get to > download the version they want customised from the master version. > > How would the CGI program work? When choices were made, it would derive a > directory name from the combination of choices so that all the variants are > kept separate then it would copy the files across and make the changes for > that version (and could indeed tar and compress/zip them). The script could > be made smarter by having it check whether the version already in that > directory is current (though this mean version numbers should always change > for any code change so that the script could do it by version numbers alone). > > Would this address your concern about multiple distributions? > > Alan