I see other problems in your code:
even shows that you are partly aware of that problem. Change next to die "should not happen" and see your script die.next if !defined ($string); # should never be true.
See also Re^2: Massive Memory Leak and Re: Counting rows Sqlite for the first three points.
Alexander
In reply to Re^3: error joining hashref of an arrayref
by afoken
in thread error joining hashref of an arrayref
by ag4ve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |