my $cmd = "perl /path/to/indexer.pl"; system($cmd) or die "Cannot run '$cmd': $!";