The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.07_03

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.