That's because you're trying to call the method log_file on an undefined value in $exp. Check for errors where you create $exp. Also keep in mind that things like PATH and other environment variables can have quite different values than your normal login shell provides.
In reply to Re: Cron and Expect.pm
by Fletch
in thread Cron and Expect.pm
by Krunchy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |