From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

# sum_precompile.pl
use strict;
use FindBin;
use lib "$FindBin::Bin/lib";
use SPVM 'MyMath';
# Call precompile method
my $total_precompile = SPVM::MyMath->sum_precompile([3, 6, 8, 9]);
print "Total Precompile: $total_precompile\n";