in reply to Looping failure

Normally an inner-loop has something to do with the outer-loop, yet in your code I see a foreach $element(@enzymes), but the outer loop doesn't define it (it = @enzymes), nor assigns anything to it...

Update, clarified what I ment with 'it'

Replies are listed 'Best First'.
Re: Looping failure
by MonkPaul (Friar) on May 15, 2005 at 15:22 UTC
    The inner loop, as i said before is to cut the seq with a list of enzymes, the outer loop is for the sequence list.

    $element has been declared at the start of my code as global so i can use in lots of loops.