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?? |
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.
In Section
Seekers of Perl Wisdom
|
|