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
In Section
Seekers of Perl Wisdom