Do i have to parse the field to extract the right value with regex into my script?
YES
A file location containing the search results will be in $ARGV7.
From my testing this file is a gzipped CSV file.
To access the results, you will need to gunzip the file, open the file in $ARGV[7] and parse the results:
Example perl script:
$filename = $ARGV[7];
gunzip $filename ; # gunzip the results file
$filename =~ s/.gz$//; # remove ".gz" from $filename
open('RESULTS', '<', $filename) or die($!);
while (<RESULTS>){
my $result = $_;
# do something with $result;
}
close('RESULTS');
... View more