Skip Menu |

This queue is for tickets about the Expect CPAN distribution.

Report information
The Basics
Id: 104795
Status: new
Priority: 0/
Queue: Expect

People
Owner: Nobody in particular
Requestors: AERO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.32
Fixed in: (no value)



Subject: error and exp_error functions are not the same.
Hi, The following is the test code for this issue. $ perl -MExpect -e '$e=Expect->spawn("ls"); $e->log_stdout(0); $e->expect(5, [ /NOT_MATCH/ => sub {} ]) or print "[".$e->exp_error."] [".$e->error."]\n";' [3:Child PID 19627 exited with status 0] [-1] https://metacpan.org/pod/Expect#object-exp_error-or is correct ?