NAME
App::githook_perltidy::Util - shared utility functions for App::gith...
VERSION
0.11.1.
SYNOPSIS
use App::githook_perltidy;
DESCRIPTION
This module contains functions and symbols common to the App::githook_perltidy::* modules.
EXPORTS
The following functions and symbol are exported on request.
- get_perltidyrc -> Path::Tiny
-
Returns the location of a
.perltidyrc
file. Raises an exception when the file is not found or if the file is not committed to the git repository. - have_podtidy_opts -> Boolean
-
Indicates the existence of a
.podtidy-opts
file. - get_podtidy_opts -> Path::Tiny
-
Returns the location of a
.podtidy-opts
file. Raises an exception when the file is not found or if the file is not committed to the git repository. - sys( @cmd ) -> Str
-
Runs
@cmd
using the Perlsystem
builtin. Raises an exception on error. - POST_HOOK_FILE
-
A constant value containing the name of the file for sharing information between pre and post hook calls.
AUTHOR
Mark Lawrence <nomad@null.net>
COPYRIGHT AND LICENSE
Copyright 2011-2013 Mark Lawrence <nomad@null.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.