- or download this
sub method {
my @args = @_;
...
my $result = C++CODE::method(@args);
return $result;
}
- or download this
use lib (<path>)
use (C++ package)
- or download this
my $dsgn = new (c++_object)
$dsgn->(method)
- or download this
MAIN
my C++object
...
routine
my $C++object = @_
$C++object->method()