Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Object-Lexical | Distribution: Mageia |
Version: 0.20.0 | Vendor: Mageia.Org |
Release: 10.mga9 | Build date: Sun Mar 20 11:54:14 2022 |
Group: Development/Perl | Build host: localhost |
Size: 17184 | Source RPM: perl-Object-Lexical-0.20.0-10.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Object-Lexical | |
Summary: Object::Lexical - Syntactic Sugar for Easy Object Instance Data & |
Object::Lexical provides syntactic sugar to create objects. Normal "my" variables are used for instance data. $this is automatically read off of the argument stack. This follows "real" OO languages, where user code need not concern itself with helping the language implement objects. Normal OO Perl code is ugly, hard to read, tedious to type, and error prone. The "$self-"{field}> syntax is cumbersome, and using an object field with a built in, like "push()", requires syntax beyond novice Perl programmers: "push @{$self-"{field}}, $value>. Spelling field names wrong results in hard to find bugs: the hash autovivicates, and no "variables must be declared" warning is issued.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 0.20.0-10.mga9 + Revision: 1805018 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Object-Lexical /usr/share/doc/perl-Object-Lexical/Changes /usr/share/doc/perl-Object-Lexical/README /usr/share/man/man3/Object::Lexical.3pm.xz /usr/share/perl5/vendor_perl/Object/Lexical.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 10:02:34 2025