Name : perl-Class-AccessorMaker
| |
Version : 1.100.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-14 19:20:01
|
Group : Unspecified
| Source RPM : perl-Class-AccessorMaker-1.100.0-lp156.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : An accessor method maker
|
Description :
The AccesorMaker takes in, at use-time, a hash-reference and an extra keyword. It uses the keys of the hash-reference to create accessor-methods in the name-space of the caller. The values that are given to the keys are the default value of the accessor.
Class::AccessorMaker will create a constructor (called \'new()\') by default. This constructor will be able to take that nice and shiny hash-like structure as you can see in the first example.
If you want your constructor to run your objects \'init()\' routine you can specify the keyword \"new_init\". If you want to write your own \'new()\' routine you can use \"no_new\". Note that Class::AccessorMaker expects your object to be a hash-reference.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/noarch |