in reply to One line dynamic run-parts warpper

I'm not sure about making it faster, the most of the time spent is probably running the scripts called by 'run-parts'.

You could however call exec instead of system if you are not going to do anything after that one line in your Perl script, there's no need to keep the perl process alive when it has done its work.