1 package App::Rgit::Policy;
8 App::Rgit::Policy - Base class for App::Rgit policies.
16 our $VERSION = '0.06';
20 $class = ref $class || $class;
24 if ($class eq __PACKAGE__) {
25 my $policy = delete $args{name};
26 $policy = 'Default' unless defined $policy;
27 $policy = __PACKAGE__ . "::$policy" unless $policy =~ /::/;
28 eval "require $policy" or die $@;
29 return $policy->new(%args);
41 Vincent Pit, C<< <perl at profvince.com> >>, L<http://profvince.com>.
43 You can contact me by mail or on C<irc.perl.org> (vincent).
47 Please report any bugs or feature requests to C<bug-rgit at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit>.
48 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
52 You can find documentation for this module with the perldoc command.
54 perldoc App::Rgit::Policy
56 =head1 COPYRIGHT & LICENSE
58 Copyright 2008,2009,2010 Vincent Pit, all rights reserved.
60 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
64 1; # End of App::Rgit::Policy