NAME

Cvs::Simple::Hook - limits allowed cvs commands.

VERSION

version 0.07_04

DESCRIPTION

This module lists which CVS commands may have a callback attached.

FUNCTIONS

PERM_REQ

Returns a regex object consisting of all the keys from the private
%PERMITTED hash.

permitted ( $value )

Returns true if $value is present in the %PERMITTED hash; false otherwise.

get_hook ( $cmd )

Returns the value if $cmd is present as a key in %PERMITTED, or undef otherwise.

AUTHOR

Stephen Cardie <stephenca@ls26.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Stephen Cardie.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.