Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Trouble getting started with Perl OO

by ant (Scribe)
on Oct 07, 2004 at 12:24 UTC ( [id://397274]=note: print w/replies, xml ) Need Help??


in reply to Re: Trouble getting started with Perl OO
in thread Trouble getting started with Perl OO

Thanks for the reply,
It was only after submitting the question that i realised that I had left out the
$box->print_shape();
and also printing of line two and three in the method print_shape. So all that was in the original code.
My original idea was to have each shape 3 lines long, and then just hardcode the printing of the hash. I have this sample code running with arrays, but was using a hash for extra learning value.
Ant

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found