Hi google group,
I yesterday fetched the recent version of SPADA from github. When I run the perl script, I get the following error
Can't use string ("HASH(0x67e59c8)") as a HASH ref while "strict refs" in use at /home/michael/DataI/software/spada/spada/ConfigSetup.pm line 87, <FH> line 45.
This refers to the line in ConfigSetup.pm that splits the methods from $ENV{'methods'} into an hash which is assigned to $ENV{'method'}. For not that obvious reasons, this assignment fails. If I 'repeat' the assignment into a new hash, it works fine:
$ENV{"method"} = { map {$_=>{}} split(";", $ENV{"methods"}) };
my %hash = ();
$hash{'test'} = { map {$_=>{}} split(";", $ENV{"methods"}) };
===print Dumper \%hash
$VAR1 = {
'test' => {
'GeneWise_SplicePredictor' => {},
'Augustus_evidence' => {}
},
===print Dumper \%ENV (omitted non relevant entries)
$VAR1 = {
'method' => 'HASH(0x6ea8bb0)',
}
Does anyone has an idea what's going on here?
Thanks
Michael