http://www.perlmonks.org?node_id=410318


in reply to Expect.pm problem

I expect that the problem is the lack of quotes around '-re' in your 4th line. If that fails you should set debugging on in Expect:

$Expect::Debug = 3; # or $obj->debug(3);

cheers

tachyon