in reply to perl expect moudule to interact with Linux terminal

Please format data and code using code tags (e.g. <c> & </c>) around data or code which will then format as you see in this sentence. Make it easy for us to help you!