in reply to Complete solution for system commands?
Sounds rather like Modules which improve system() ?. You might like to read through that thread.