in reply to Re^5: A Few Questions About IO::File
in thread A Few Questions About IO::File
I think I read somewhere that Larry wall borrowed the object system directly from python. It's evident by the way both languanges need to unpack the invocant $self manually.
While they are similar in concept, in perl I have to do a lot of manual works and boilerplates just to create a class with a bunch of accessors and mutators methods.
And I am familiar with Moose, since my original reason to learn perl was to use the Catalyst framework which uses Moose (roles and Moose's type checking ability is da bomb). But I somehow got sidetracked and currently learning the guts of perl's object system. It's all good, fortunately since this is only a side project and I'm not hard pressed on time.
|
|---|