in reply to Text Analysis: given(){when(){}} block throws a 'useless use of private variable...etc' error

I can't see a backslash at the end of line 1 nor a + after size (mentioned above by TomDLux) - perhaps the code was updated. I just see: $size1, $size2

Missing } to close the until (also by TomDLux) is correct (i.e. I can see that one).

Also, the semicolon at the end of sub constructHetero{...}; should be removed.

-- Ken

  • Comment on Re: Text Analysis: given(){when(){}} block throws a 'useless use of private variable...etc' error
  • Select or Download Code