Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by biohisham (Priest)
on Oct 18, 2010 at 14:09 UTC ( [id://865942]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found