Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > media > contrib-release > by-pkgid > 844ce7ea5441e7cfda6436e3f40818d2

perl-Object-Lexical-0.02-1mdv2007.0.noarch.rpm

Description:

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.

Sources packages:

Other version of this rpm: