Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-04-21 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls