So I turned to the docs for Expect and read the following:
$object->after ... returns the 'after' part of the last expect() call. If the last expect() call didn't match anything, exp_after() will return undef().
Now, saying that the 'after' method returns the 'after' part of the last call doesn't seem to clarify matters much. Would it be possible for someone who has used Expect::Simple to provide a brief example?
Thank you very much.
In reply to Expect::Simple::after() by jkeenan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |