This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Simple Iteration In A Hash With Perl

Hi! I´m trying to compute an iteration process with a hash for example if i have this hash:

%hash=(
A=>4,
B=>5,
C=>10,
D=>2,
E=>9
)

i want to multiply the A with the B , then the A with the C .. A with D .. A with E.. and then B with A and so on.. i have been trying to compute that without success .. any help would be really appreciated Thanks!

perl

this is a simple perl question, not bioinformatics related.

it is related with bioinforamtics.. i just simplifyed the question but in the hash i have alignments and im trying to create a substitutionmatrix in an iteration process as described

As Michael said, the question as written is a simple Perl programming question. You need to make the bioinformatics relevance clear in the question.

I've re-opened the question; please edit it as soon as possible.

0 answers

No answers yet.

Log in to answer this question.