in reply to Double Expect Whamy...
Yes, it works fine. I've done it before and it's not overly complicated, although I can't provide code as it's been half a year since my contract with that client expired and I've forgotten most of what I knew about Expect in that time. If you know Expect, it's pretty straightforward. If you don't know Expect, it shouldn't take more than a couple hours (if that) of poking around PerlMonks to get up to speed, and then it's pretty straightforward.