1 package Object::WithIntAndString;
9 XSLoader::load('Object::WithIntAndString', $VERSION);
16 Object::WithIntAndString - A tiny C++ class example that holds a string and an int
20 use Object::WithIntAndString;
21 my $o = Object::WithIntAndString->new;
23 print $o->GetString(), "\n";
25 print $o->GetInt(), "\n";
29 Simply an XS++ example!
33 Steffen Mueller, E<lt>smueller@cpan.orgE<gt>
35 =head1 COPYRIGHT AND LICENSE
37 Copyright (C) 2009 by Steffen Mueller
39 This library is free software; you can redistribute it and/or modify
40 it under the same terms as Perl itself, either Perl version 5.6.1 or,
41 at your option, any later version of Perl 5 you may have available.