Perl: the Markov chain saw | |
PerlMonks |
Re: How to Save a variable outside of a loopby Myrddin Wyllt (Hermit) |
on Jul 31, 2015 at 21:41 UTC ( [id://1137066]=note: print w/replies, xml ) | Need Help?? |
As well as the re-declared variables, it looks like you have a typo on the line: if($hitlength == $prev_l and $prevalence == $prev_l){This should probably be: if($hitlength == $prev_l and $prevalence == $prev_p){
In Section
Seekers of Perl Wisdom
|
|