in reply to Perl Telnet weirdness
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?
$t1->cmd($command); [download]