in reply to Problem while refactoring code into a subroutine (was: subroutines!!!)
Instead of:
$dna[$i]You want:
$dna->[$i]Since $dna and $complement are array references, you need the arrow to de-reference back to the underlying array.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: subroutines!!!
by Anonymous Monk on Mar 25, 2003 at 11:35 UTC | |
by davorg (Chancellor) on Mar 25, 2003 at 12:16 UTC |