|Problems? Is your data what you think it is?|
Re^2: RFC on how I'm doing when it comes to writing objects?by Lady_Aleena (Deacon)
|on Feb 04, 2013 at 20:40 UTC||Need Help??|
Comments are in. Hope you find them helpful in pointing me in the right direction. I tested the 2 argument bless in the first subroutine. When it was data dumped, I didn't see any change in how the data was stored.
I went with the first one since it is the most straight forward. It does not have any of my other custom subroutines used in it and stands on its own.
After adding $class on the last line, the data dumped looked like...
I got the same result without $class on the last line. When I use the subroutine as an object, I would do something like...
I'm not sure what I'm missing.
Have a cookie and a very nice day!