in reply to Re^2: 'undef' in the matrix instead of values!!!
in thread 'undef' in the matrix instead of values!!!

I'd debug (or put prints) in sub similarity. Does $obj get a value other than undef? Does $simi?
  • Comment on Re^3: 'undef' in the matrix instead of values!!!