Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Real life uses for closures. (real life?)

by LanX (Chancellor)
on Feb 12, 2013 at 17:45 UTC ( #1018419=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
      package TEST_CLASS;
    ...
    
    $obj->public_method(1..3);
    $obj->private_method(4..6);
    
  2. or download this
    - public_method(1 2 3)
    -- private_method(7 8 9)
    Can't locate object method "private_method" via package "TEST_CLASS" a
    +t /tmp/tst_pkg.pl line 32.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018419]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-12-08 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.