Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>>* Perl has support for classes, but you feel like it's a hack every time you write one.

Check out Moose for Perl. Then name an OO system in production that is better.

(-: If you can give an example, I'll immediately buy a book on it. :-)

Edit: Syntax.



I've seen Moose, but haven't actually used it. The codebase I work with at work uses the ole Perl blessed hashes, and we won't be switching any time soon.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: