Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Better Inside-Out Objects :)

by xdg (Monsignor)
on Oct 06, 2006 at 13:18 UTC ( #576716=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package SmartHash;
    use strict;
    ...
        },
        fallback => 1;
    1;
    
  2. or download this
    package Foo;
    use strict;
    ...
    }
    
    1;
    
  3. or download this
    package Bar;
    use strict;
    ...
    }
    
    1;
    
  4. or download this
    use strict;
    use warnings;
    ...
    
    is( $o->foo, 42, "Bar obj's foo is still Bar obj's foo" );
    is( $o->Foo::foo, 23, "Bar obj's Foo's foo is still Bar obj's Foo's fo
    +o" );
    
  5. or download this
    testfoo....1..9
    ok 1 - require Bar;
    ...
    ok
    All tests successful.
    Files=1, Tests=9,  0 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 C
    +PU)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://576716]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2019-08-26 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?