# # This file is part of Curses-Toolkit # # This software is copyright (c) 2011 by Damien "dams" Krotkine. # # This is free software; you can redistribute it and/or modify it under # the same terms as the Perl 5 programming language system itself. # use warnings; use strict; package Curses::Toolkit::Object; BEGIN { $Curses::Toolkit::Object::VERSION = '0.204'; } # ABSTRACT: base class for objects use Moose; sub BUILDARGS { my ($class) = shift; # TODO : use Exception; $class eq __PACKAGE__ and die "abstract class"; } no Moose; __PACKAGE__->meta->make_immutable; 1; =pod =head1 NAME Curses::Toolkit::Object - base class for objects =head1 VERSION version 0.204 =head1 DESCRIPTION Base class for objects. This class cannot be instanciated. =head1 AUTHOR Damien "dams" Krotkine =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2011 by Damien "dams" Krotkine. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut __END__