Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 imbibing at the Monastery: (7)
As of 2014-11-27 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (187 votes), past polls