new

# given 9.9999

package My::Float;

use parent 'Data::Object::Base::Float';

my $float = My::Float->new(9.9999);

The new method expects a floating-point number and returns a new class instance.

new(Num $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 28:

Unknown directive: =signature

Around line 32:

Unknown directive: =type