in reply to Re: Executing a program as another user
in thread Executing a program as another user

Could you please supply some example? I have trouble simply understanding what Expect.pm is supposed to do. ;)
  • Comment on Re: Re: Executing a program as another user

Replies are listed 'Best First'.
Re: Re: Re: Executing a program as another user
by wog (Curate) on Feb 14, 2002 at 22:09 UTC
    Well, I guess the CPAN site I pointed to doesn't have really up-to-date documentation... More recent docs for Expect.pm are here, and would be helpful if you haven't already seen them. As for examples, the Expect package comes with a bunch of "tutorial" code, which can be seen here. (Link to web view of CVS; click on the reversion number to view anyone of those docs quickly...)