Changes for version 1.03 - 2007-08-03
- Bug fix:
- peek() now always calls expect($timeout). It won't make any test that could avoid calling expect.
- API changes:
- the has_line() method was removed since it is unecessary. Also it was implemented incorrectly since it removed the line from the input stream, while it was supposed to say if there is a line without removing anything.
- read_line() now returns undef when there are no more lines on input stream. An empty string is now a valid return string, this happens when a line contains only a 'terminator' character ("\n").
- added the constructor option 'restart_timeout_upon_receive' and get/setter method restart_timeout_upon_receive() to set the restart_timeout_upon_receive() method of the internal Expect object.
Modules
SSH wrapper to execute remote commands