Object::WithIntAndString - A tiny C++ class example that holds a string and an int
use Object::WithIntAndString; my $o = Object::WithIntAndString->new; $o->SetString("foo"); print $o->GetString(), "\n"; $o->SetInt(5); print $o->GetInt(), "\n";
Simply an XS++ example!
Steffen Mueller, <smueller@cpan.org>
Copyright (C) 2009 by Steffen Mueller
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6.1 or, at your option, any later version of Perl 5 you may have available.
To install ExtUtils::XSpp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ExtUtils::XSpp
CPAN shell
perl -MCPAN -e shell install ExtUtils::XSpp
For more information on module installation, please visit the detailed CPAN module installation guide.