perl replaces bash