or CNFParserException->throw(error=>"Can't open $cnf_file -> $!",show_trace=>$self->{STACK_TRACE});
read $fh, $content, -s $fh;
close $fh;
- if(!$self->{CNF_CONTENT} eq 'script'){
+ if(exists $self->{CNF_CONTENT} && $self->{CNF_CONTENT} eq 'script'){
+ $recursing = 1
+ }else{
my @stat = stat($cnf_file);
$self->{CNF_STAT} = \@stat;
$self->{CNF_CONTENT} = $CUR_SCRIPT = $cnf_file;
- }else{$recursing = 1}
+ }
}else{
my $type = Scalar::Util::reftype($content);
if($type && $type eq 'ARRAY'){
use Syntax::Keyword::Try;
use Benchmark;
use lib "tests";
-use lib '/home/will/dev_new/PerlCNF/system/modules';
+use lib 'system/modules';
# use lib "system/modules";
require TestManager;
$cnf->warn('Skipping SQL Statement for CMD_HISTORY, table exists!');
}
- my @his_hosts = $cnf -> collection('@HISTORY_HOSTS___');
+ my @his_hosts = $cnf -> collection('@HISTORY_HOSTS');
my @entries_by_ord; my $ord = 0;
if(!@his_hosts){
* Load and ~/.config/this_script_name.cnf
**/
<<<FILE $0>>>
-
-
)
}