in reply to Re^2: Strange Behaviour of Two Hashes
in thread Strange Behaviour of Two Hashes

Hmmm. I copied them this time rather than moved them which explains the error messages:

P:\test>457797 "my" variable $seq masks earlier declaration in same scope at P:\test\ +457797.pl line 37. "my" variable %alignment masks earlier declaration in same scope at P: +\test\457797.pl line 38. $VAR1 = { 'S1' => 'C-D', 'S2' => 'C-D', 'S4' => 'CID', 'S3' => 'CAD' }; $VAR1 = { 'S1' => 'C-D', 'S2' => 'C-D', 'S4' => 'CID', 'S3' => 'CAD' }; From LOOP $VAR1 = { 'S1' => 'C-D', 'S2' => 'C-D', 'S4' => 'CID', 'S3' => 'CAD' };

But I still don't see the problem?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.