I'm just starting to get my feet wet in OOP and am busily reading Damian Conway's "Object Oriented Perl". In chapter 4, he discusses pseudo-hashes and fields.pm. The book was written around the time of Perl 5.005, and he emphasizes that pseudo-hashes are experimental.
Searching through the messages here on PerlMonks, it appears that pseudo-hashes are going to go away, but that the "use fields" pragma will remain. Correct?
If this is the case, what are most OOP programmers doing?? Should I generally create objects as regular hashes, or should I be using the "use fields" pragma? I'm beginning to suspect that "use fields" is an idea whose time still hasn't come, but I'm not sure whether I would be causing myself any problems by using it.
Any guidance would be appreciated!
Wally HartshornEdit: closed BOLD tag. larsen
In reply to Hashes vs "use fields" for an Object? by Wally Hartshorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |