Shell - run shell commands transparently within perl