in reply to Re: Re: Re: using s/// as map?
in thread how can I speed up this perl??
Okay.
sub chain { my ($genome,@genome) = @_; for ($i..$#genome) { ....
Where is $i set? for $_ ( $i .. $#genome)? and 32 Uninitialised string in eq errors every loop, if the loop had a defined starting place.
sub hash_array { my ($genome,@genome) = @_; $counts { $genome [$i] . $genome [$i + 1] } ++ for (0..$#genome); }
Where does $i come from? <and that's only scratching the surface.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: using s/// as map?
by jryan (Vicar) on Nov 25, 2003 at 06:51 UTC |