OneTool Configuration module
=cut
use strict;
use warnings;
use FindBin;
use File::Slurp;
use JSON;
my $DIR_CONFIG = "$FindBin::Bin/../conf";
=head1 FUNCTIONS
=head2 Directory($directory)
Sets
)
);
if ((defined $file) && (-r $file))
{
my $json_str = read_file($file);
my $conf = from_json($json_str);
return ($conf);
}
return (undef);
}
1;