Name : perl-Object-Simple
| |
Version : 3.190.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-26 22:57:32
|
Group : Unspecified
| Source RPM : perl-Object-Simple-3.190.0-lp156.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Simplest class builder, Mojo::Base porting, fast and less memory
|
Description :
Object::Simple is *Simplest* class builder. All you learn is only \'has\' function. You can learn all features of Object::Simple in *an hour*. There is nothing difficult.
Do you like Mojolicious? In fact, Object::Simple is Mojo::Base porting. Mojo::Base is basic class builder in Mojolicious project. If you like Mojolicious, this is good choice. If you have known Mojo::Base, you learn nothing.
\'new\' and accessor method is *fast*. Implementation is pure perl and plain old hash-base object. Memory is saved. Extra objects is not created at all. Very light-weight object-oriented module.
Comparison with Class::Accessor::Fast
Class::Accessor::Fast is simple, but lack often used features. \'new\' method can\'t receive hash arguments. Default value can\'t be specified. If multiple values is set through the accessor, its value is converted to array reference without warnings.
Comparison with Moose
Moose has very complex syntax and depend on much many modules. You have to learn many things to do object-oriented programing. Understanding source code is difficult. Compile-time is very slow and memory usage is very large. Execution speed is not fast. For simple OO, Moose is overkill. Moo is improved in this point.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/noarch |