SPVM::Document::FAQ - SPVM FAQ(BETA)
Trun on debug mode by using SPVM::Debug. Line number which exception occur is printed to execption message.
use SPVM::Debug; use SPVM::YourModule;
For example:
0 division (int / int) from TestCase::exception_zero_divide_int() at /home/kimoto/labo/SPVM/t/lib/SPVM/TestCase.spvm line 26
In 32 bit integer Perl, 64 bit integer is not supported. This means that Perl can not express 64 bit integers on source code.
See the following code.
my $value = 9223372036854775807;
In 32 bit integer Perl, 64bit integer value is converted to double automatically. The double value can't express long value accurately.
SPVM means Static Perl Virtual Machine.
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.