Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by kcott (Archbishop)
on Oct 18, 2010 at 14:19 UTC ( [id://865949]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://865949]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2025-03-24 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (65 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.