Object::Tiny::XS - Class building as simple as it gets and FAST |
Object::Tiny::XS - Class building as simple as it gets and FAST
# Define a class package Foo; use Object::Tiny::XS qw{ bar baz }; 1; # Use the class my $object = Foo->new( bar => 1 ); print "bar is " . $object->bar . "\n";
This module does the same that the Object::Tiny manpage does, but it uses
Class::XSAccessor
to generate faster accessors and constructors.
For details on the little interface there is, please check
Object::Tiny
.
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html
For other issues, contact the author.
Steffen Mueller <smueller@cpan.org>
Adam Kennedy <adamk@cpan.org>
Copyright 2008 Adam Kennedy, Steffen Mueller.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Object::Tiny::XS - Class building as simple as it gets and FAST |