Skip Menu |

This queue is for tickets about the Expect CPAN distribution.

Report information
The Basics
Id: 9426
Status: resolved
Priority: 0/
Queue: Expect

Owner: Nobody in particular
Requestors: nothingmuch [...]

Bug Information
Severity: Important
Broken in:
  • 1.10
  • 1.11
  • 1.12
  • 1.16
  • 1.17
  • 1.18
Fixed in: 1.19

Subject: $_ is written but not being localized
Download (untitled) / with headers
text/plain 245b
Expect makes use of $_ in several places, like _make_readable, but does not localize it. I got "can't modify readonly value" when doing something like this: for (CONSTANT) { $e->send("echo $_\n"); $e->expect($timeout, -ex => "$_\n"); }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to