P is for Practical | |
PerlMonks |
Re: How to extract the best match from matrixby choroba (Cardinal) |
on Mar 11, 2017 at 23:39 UTC ( [id://1184300]=note: print w/replies, xml ) | Need Help?? |
Can you describe what the function is supposed to do? Using strict is good, but declaring sub nearest inside of a for loop with the variable $find used in the subroutine while declared in the outer scope nearly spurns all its benefits.
In Section
Seekers of Perl Wisdom
|
|