http://qs321.pair.com?node_id=1109752

prensrf has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Sorry for the poor title, my inability to describe my problem is probably why I haven't been able to search for a suitable answer to the issue.

Basically I have been trying to compare values held in multiple lists and generate some output based on the position in the list of the match.

After some searching around I came across an interesting snippet of code using Algorithm::NeedlemanWunsch

However, this is the problem. The Snippet uses scalars as the input. . .

my $arr1 = [qw(A T C G T C G A G C G)]; my $arr2 = [qw(A C G T C C T G T C G)];
and I have the values I need to push into the algorithm in two @lists

Can anyone suggest a way to mangle my @lists into a suitable scaler in the above format?

Thanks in advance

Rich