: application/json;charset=utf-8\n\n";
my $json;
@files = glob('./results/*');
foreach $file (@files)
{
if (index($file, ".txt") == -1)
{
if ($json ne "")
{
$json .= ",";
}
$file =~ s/\.\.\///ig;
$json .= "\"".$file."\"";
}
}
print "[", $json, "]";
eturn $self->{"tableNumberToInclude"};
}
#
# The format the table should be in: csv, xlsx or json
#
sub format
{
my $self = shift;
if (scalar(@_) == 1)
{
$self->{"fo
t every table on the web page into a separate spreadsheet sheet. Only available with the XLSX and JSON formats
#
sub includeAllTables
{
my $self = shift;
if (scalar(@_) == 1)
{
eturn $self->{"tableNumberToInclude"};
}
#
# The format the table should be in: csv, xlsx or json
#
sub format
{
my $self = shift;
if (scalar(@_) == 1)
{
$self->{"fo
t every table on the web page into a separate spreadsheet sheet. Only available with the XLSX and JSON formats
#
sub includeAllTables
{
my $self = shift;
if (scalar(@_) == 1)
{
: application/json;charset=utf-8\n\n";
my $json;
@files = glob('./results/*');
foreach $file (@files)
{
if (index($file, ".txt") == -1)
{
if ($json ne "")
{
$json .= ",";
}
$file =~ s/\.\.\///ig;
$json .= "\"".$file."\"";
}
}
print "[", $json, "]";
eturn $self->{"tableNumberToInclude"};
}
#
# The format the table should be in: csv, xlsx or json
#
sub format
{
my $self = shift;
if (scalar(@_) == 1)
{
$self->{"fo
t every table on the web page into a separate spreadsheet sheet. Only available with the XLSX and JSON formats
#
sub includeAllTables
{
my $self = shift;
if (scalar(@_) == 1)
{