Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: How do I go from procedural to object oriented programming?

by marinersk (Priest)
on Apr 20, 2015 at 22:35 UTC ( [id://1124077]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I go from procedural to object oriented programming?
in thread How do I go from procedural to object oriented programming?

So, you don't start by creating a monster hash called %movies_data. That would be thinking about the data. OO is about thinking about the thing.

So what you need is an object called movie.

That object will represent the movie. Think of the object as a movie.

Don't fret about the data yet.

Log In?
Username:
Password:

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

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

    No recent polls found