Object::Tiny::XS - Class building as simple as it gets and FAST



NAME

Object::Tiny::XS - Class building as simple as it gets and FAST


SYNOPSIS

  # 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";


DESCRIPTION

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.


SUPPORT

Bugs should be reported via the CPAN bug tracker at

http://rt.cpan.org/NoAuth/ReportBug.html

For other issues, contact the author.


AUTHOR

Steffen Mueller <smueller@cpan.org>

Adam Kennedy <adamk@cpan.org>


SEE ALSO

the Object::Tiny manpage

the Class::XSAccessor manpage


COPYRIGHT

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