$package_name - N-Dimension Array of SPVM::Quat_4${prefix}
my \$ndarray = $package_name->new; my \$dim1 = 3; my \$dim2 = 4; my \$length = \$dim1 * \$dim2; \$ndarray->{base} = new SPVM::Quat_4${prefix}[\$length]; \$ndarray->{length} = \$length; \$ndarray->{shape} = [\$dim1, \$dim2];
$package_name is N-Dimension Array of SPVM::Quat_4${prefix}.
See SPVM::NDArray::Document about Details of N-Dimension Array. EOS
my $perl_module_file = "lib/SPVM/NDArray/Quat" . ucfirst($type) . ".pm"; open my $perl_module_fh, '>', $perl_module_file or die "Can't open $perl_module_file: $!"; print $perl_module_fh $perl_module_content; }
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.