You are looking at a very old, but free version of the course. If you are interesed the most recent version, check it out on the Perl Maven site.

7.3. Expect.pm

  • Provides a way to describe user behaviour in a command line environment

  • Can send information as if it was typed in the keyboard

  • Can wait for some Expect-ed value and based on this value do something

  • Originally an extension of Tcl

  • Ported to Perl

  • Can be used in environments such as:

    • Command line application like bc

    • Telnet to another box and type in things

    • Anything usually a person would do on the command line.


If you are interested in on-site trainings by the author, please contact me directly.