in reply to Re^2: hash access with a variable
in thread hash access with a variable
And the warning that perl gives you is "use of uninitialized value $sequence in … string", it means that as of line 48 in your script, no value has ever been assigned to the variable $sequence.print "$sequence\n";
If that fact does not agree with your assumptions about the state of things when your script reaches line 48, then your assumptions are wrong, and this is probably related to the fact that when you try to use $sequence as a hash key, you don't get what you expect.
You could try forming a minimal, self-contained, runnable (small) script that demonstrates the problem you're having, and if that exercise by itself doesn't reveal the problem for you, post that script in full.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: hash access with a variable
by Anonymous Monk on Aug 07, 2014 at 00:21 UTC |