Inline::CPP 0.25 review

Download
by rbytes.net on

Inline::CPP is a Perl module that can write Perl subroutines and classes in C++. SYNOPSIS use Inline CPP; print "9 + 1

License: Perl Artistic License
File size: 23K
Developer: Neil Watkiss
0 stars award from rbytes.net

Inline::CPP is a Perl module that can write Perl subroutines and classes in C++.

SYNOPSIS

use Inline CPP;

print "9 + 16 = ", add(9, 16), "n";
print "9 - 16 = ", subtract(9, 16), "n";

__END__
__CPP__

int add(int x, int y) {
return x + y;
}

int subtract(int x, int y) {
return x - y;
}

The Inline::CPP module allows you to put C++ source code directly "inline" in a Perl script or module. You code classes or functions in C++, and you can use them as if they were written in Perl.

Requirements:
Perl

Inline::CPP 0.25 keywords