SPVM::Double - Double Class
my $double_object = Double->new(5); my $double_value = $double_object->value; $double_object->set_value(10);
Double is the class to hold a value of the double type.
Double
double
This class is automatically loaded.
has value : rw double;
The value.
static method new : Double ($value : double)
Create a new Double object with a double value.
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.