Sandboxing class modules with instances of a CGI script
Andy Armstrong
andy at hexten.net
Wed Jan 30 00:58:53 GMT 2008
On 30 Jan 2008, at 00:46, Mark Knoop wrote:
> If I am going to tidy up my code by splitting things up into class
> modules then I am in a dilemma as to whether to have lots of
> different versions of the modules or whether to centralise my class
> code and risk breaking something somewhere that I may not pick
> easily be able to pick up on whenever I update the modules. If I go
> for the former do I just put the modules next to the CGI script
> somewhere in the site directory structure or is there a tidy way to
> have multiple versions in my lib path and require a specific version
> from each CGI instance?
One set of modules with a rigourous set of tests. Should do the trick :)
--
Andy Armstrong, Hexten
More information about the london.pm
mailing list