I'm not sure if what you've provided here, is your entire script. But I think you're going to need to somehow manage the input stream. Which I believe is why you're seeing the error you are. I don't have an example. But I see the pod for Net::SSH::Expect provides quite a few of them. Maybe one of them will get you where you want to be. :)
--Chris
EDIT Updated external link to be more specific.Yes. What say about me, is true.
In reply to Re: Can't locate object method "autoflush"
by taint
in thread Can't locate object method "autoflush"
by james_culling
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |