Perl Monk, Perl Meditation | |
PerlMonks |
Re: Expect module & suby logan (Curate) |
on Jun 02, 2003 at 18:46 UTC ( [id://262457]=note: print w/replies, xml ) | Need Help?? |
How is the authentication failing? Is su failing, or is the Expect call timing out? Is there a newline attached to $exp->send("$password");? Is Expect failing to detect the prompt that signifies success?
Try setting $exp->debug(3) to see what's actually being received by your code.
-Logan
In Section
Seekers of Perl Wisdom
|
|