in reply to Re: Bootstrapping and cleaning after remote execution of method in framework consisting of multiple modules
in thread Bootstrapping and cleaning after remote execution of method in framework consisting of multiple modules

Good solution for having all methods in one file, but we have tested another, less effective in perfomance, but clean-after-himself: we just 'use' all modules in framework (that is not so slow as we expected, about 0.2 sec). After 'use' each module is deleted, first of all starter.pl is runned by 'perl' and with '-d' option, when it's started it just deletes itself. So we got all necessary modules and no garbage in the directory.
  • Comment on Re^2: Bootstrapping and cleaning after remote execution of method in framework consisting of multiple modules