in reply to Re: Keep getting "use of unitialized value" error in a weird place
in thread Keep getting "use of unitialized value" error in a weird place

> but it looks weird.

... and if %codon is only holding 3-character keys this would explain uninitialized elements in @array4 ;)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^3: Keep getting "use of unitialized value" error in a weird place
by listendohg (Novice) on Apr 09, 2016 at 17:55 UTC
    this will take away the error, but then when i look at the output of the loop it's littered with stop codons. if i print $lol2 from within the loop, i get the amino acid sequences and they look good (stops always followed by M or some alternative start codon), but i still get this error.

        And (ATTN: listendohg!!!), LanX's observation/recommendation should show you why including sample data (also surrounded by <code>...</code> tags) is so useful to those of us trying to help... which means, useful to you.

        So, in addition to all the good advice above, please read I know what I mean. Why don't you? and the "more extensive" section of 174051.

        ++$anecdote ne $data