Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Better Inside-Out Objects :)

by xdg (Monsignor)
on Oct 06, 2006 at 17:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://576716]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-18 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found