The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Milter::Limit::Util - utility functions for App::Milter::Limit

VERSION

version 0.51

DESCRIPTION

This module provides utility functions for App::Milter::Limit.

FUNCTIONS

daemonize

This daemonizes the program. When you call this, the program will fork(), detach from the controlling TTY, close STDIN, STDOUT, and STDERR, and change to the root directory.

get_uid ($username)

return the UID for the given $username

get_gid ($groupname)

return the GID for the given $groupname

make_path ($path)

create the given directory path if necessary, creating intermediate directories as necessary. The final directory will be chown()'ed as the user/group from the config file.

AUTHOR

  Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Schout.

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

SOURCE

You can contribute or fork this project via github:

http://github.com/mschout/milter-limit

 git clone git://github.com/mschout/milter-limit.git

BUGS

Please report any bugs or feature requests to bug-app-milter-limit@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=App-Milter-Limit