in reply to Re^20: expect.pm header
in thread expect.pm header
I am sorry to hear about your son. I hope he is feeling better today.
You are just missing the call to print_log_file. Find the place in your code where you have:
and add the line as shown below:my $my_header = $header; $my_header =~ s/system/$system/; $ssh->expect ( $timeout,
my $my_header = $header; $my_header =~ s/system/$system/; $ssh->print_log_file($my_header); # This line needs to added here <<<< +<<< $ssh->expect ( $timeout,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^22: expect.pm header
by amagana (Acolyte) on Apr 10, 2015 at 19:14 UTC |