I modified my code as such:
my @lines;
my $command;
$command = "tail -$num $logfile";
@lines = ($t1->cmd('$command'));
print "@lines";
The tail command does not seem to be executed. Nothing is printed to the screen. Any advice?
In reply to Re: Re: Perl Telnet weirdness
by cosmicsoup
in thread Perl Telnet weirdness
by cosmicsoup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |