Re:Pretending OOP Never Happened
by hnick on Friday May 15, 2020 @10:00PM
(#23199799)
In perl an object is literally a data structure with funtions glued on. Which is kind of the opposite of what you say!
Usually this is a hash (dictionary) which is similar to the object with fields that we all know, but it can just as easily be an array or scalar value.
Usually this is a hash (dictionary) which is similar to the object with fields that we all know, but it can just as easily be an array or scalar value.