Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Inheritance confused

by Apero (Scribe)
on Dec 07, 2015 at 17:12 UTC ( [id://1149596]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        printf "Color: %s\n", $obj->getColor();
        printf "Food: %s\n", $obj->getFood();
    }
    
  2. or download this
    package Ex::Parent;
    use strict;
    ...
    }
    
    1;
    
  3. or download this
    package Ex::Improved;
    use strict;
    ...
    }
    
    1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found