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

I don't suppose so for the following reasons:
  1. The code is a boil down from a larger code that displayed the same behavior.
  2. The Perl path at the top of this line doesn't really matter here because I am using an editor on an XP machine so the path in the first line isn't really looked into upon compiling.
The +s you see are because of a line overlap, if you hit on the download button at the left bottom of the code area you can have the entire code displayed without these +s..

UPDATE: added the missing curly and removed the backslash pointed out, that should've been a pasting mistake of my code snippet, other than that, this code works and does show the behavior mentioned in the original post


Excellence is an Endeavor of Persistence. A Year-Old Monk :D .
  • Comment on Re^2: Text Analysis: given(){when(){}} block throws a 'useless use of private variable...etc' error
  • Download Code