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

Class::InsideOut - yet another riff on inside out objects.

by adrianh (Chancellor)
on Dec 18, 2002 at 05:45 UTC ( #220776=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Carpet;
    use base qw(Class::InsideOut);  # base class that does the work
    ...
    };
    
    # note lack of DESTROY method - all done automagically
    
  2. or download this
    use Carpet;
    use YAML;
    ...
    $o->display;
    $o2->display;
    print "difference = \$", abs($o->price - $o2->price), "\n";
    
  3. or download this
    10 x 10 (100 sq m) @ $1 = $100
    15 x 10 (150 sq m) @ $0.85 = $127.5
    difference = $27.5
    
  4. or download this
    #! /usr/bin/perl
    
    ...
    
    
    1;
    
  5. or download this
    #! /usr/bin/perl
    
    ...
    };
    
    1;
    
  6. or download this
    package Class::InsideOut::YAML;
    use YAML::Node;
    ...
    our @EXPORT = qw(yaml_load yaml_dump);
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://220776]
Approved by diotalevi
Front-paged by Aristotle
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: (7)
As of 2014-09-21 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls