Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by LanX (Canon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-09-18 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls