From: Wim V. <wve...@re...> - 2002-06-19 21:32:50
|
Thanks for the replies,... It seems that the problem I have is related to the folowing command print $session "$argument\n"; The problem now in the windows environement is the '\n'. When I replace this with '\r' it works. I never had this problem in a unix environement. Any comments? Thanks Wim ----- Original Message ----- From: "Roland Giersig" <RGi...@CP...> To: "Wim Verhaert" <wve...@re...> Cc: <exp...@li...> Sent: Tuesday, June 18, 2002 11:48 PM Subject: Re: [Expectperl-discuss] Windows interaction > > Wim Verhaert wrote: > > > > I am trying to use the expect module to interact with a windows 2000 system via telnet. > > Have you taken a look at the Net::Telnet module? Any specific reasons to not use it? > Oh, BTW, you should be able to use Net::Telnet together with Expect by initializing the > Expect object with the Net::telnet filehandle (but I haven't tried this, so feedback is > appreciated...). > > Hope this helps, > > Roland > |