new
# given 1..4
package My::Hash;
use parent 'Data::Object::Base::Hash';
my $hash = My::Hash->new({1..4});
The new method expects a list or hash reference and returns a new class instance.
new(HashRef $arg1) : Object
method
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 24:
Unknown directive: =description
- Around line 29:
Unknown directive: =signature
- Around line 33:
Unknown directive: =type