et_json = scan_result('json');
Get all the detected matches on files within the project directory. Parameter $format can be one of
the I<txt> - plain text, I<html> - formatted HTML tables or I<json>
nning.
=head2 C<exclude_extension>
exclude_extension: png jpg gif pdf doc docx html htm xml json xls
This is a global setting, so should be defined under the section C<GLOBAL> or in the very be
l qw( open close );
use Carp;
use English qw( -no_match_vars );
use Data::Dumper; # for debug
use JSON;
use File::OSS::Scan::Constant qw(:all);
our $VERSION = '0.04';
# global var ...
our $matches
$ret = $css . "\n" . $ret;
}
return $ret;
}
sub __json {
my $result = shift;
my $ret = undef;
$ret = JSON::to_json( $result, { pretty => 1 } )
if ( defined $result );
return SUCCESS;
}
1;
__DATA__
exclude_extension: png jpg gif pdf doc docx html htm xml json xls
# section for directory check
[DIRECTORY]
# section for file check
[FILE]
100% filename