in reply to error returning hash value?
To be able to run your code, I first had to remove the filenames from the downloaded files, I then got a lot of warnings (why didn't you turn them on?) like:
Odd number of elements in hash assignment at ./1.pl line 61. Use of uninitialized value in list assignment at ./1.pl line 61. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value in join or string at ./1.pl line 83, <VAR> +line 7. Use of uninitialized value within %variants_geno in pattern match (m// +) at ./1.pl line 100, <VAR> line 7.
The first two lines can be fixed by replacing the line with
undef %variants_hash;
as the original was equivalent to
%variants_hash = ( undef => );
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: error returning hash value?
by drlecb (Initiate) on Jan 09, 2017 at 00:28 UTC | |
by choroba (Cardinal) on Jan 09, 2017 at 08:58 UTC | |
by poj (Abbot) on Jan 09, 2017 at 12:54 UTC | |
by Anonymous Monk on Jan 09, 2017 at 01:27 UTC | |
by Lotus1 (Vicar) on Jan 09, 2017 at 17:26 UTC |