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

App::githook_perltidy::Util - shared utility functions for App::gith...

VERSION

0.11.3_2 (2016-05-21)

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 Perl system builtin. Raises an exception on error.

AUTHOR

Mark Lawrence <nomad@null.net>

COPYRIGHT AND LICENSE

Copyright 2011-2016 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.