Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by adrianh (Chancellor)
on Dec 18, 2002 at 05:45 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found