Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 cooling their heels in the Monastery: (8)
As of 2014-08-23 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls