Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RFC: Lexcically scoped methods, a toy example

by dcmertens (Beadle)
on Jun 11, 2013 at 21:25 UTC ( #1038345=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #lexical-methods-test.pl
    use strict;
    ...
    
    # Kaboom!
    $obj->bar;
    
  2. or download this
    # Bar.pm
    use strict;
    ...
    }
    
    1;
    
  3. or download this
    # Foo.pm
    use strict;
    ...
    }
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://1038345]
Approved by Corion
Front-paged by Arunbear
help
Chatterbox?
NodeReaper practices exenteration where nobody will notice

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-01-22 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (186 votes). Check out past polls.