foreach my $line (@results) { my ($first, $second, $third) = split(/::/, $line); print qq($first $third
); }