NAME
MPMinus::Helper::Util - MPMinus Helper's utility
VERSION
Version 1.03
SYNOPSIS
use MPMinus::Helper::Util;
DESCRIPTION
MPMinus Helper's utility
FUNCTIONS
- cleanProjectName
-
my $name = cleanProjectName( "foo" );
Returns clean name of project
- cleanServerName
-
my $name = cleanServerName( "localhost:80" );
Returns clean name of server
- cleanServerNameF
-
my $name = cleanServerNameF( "localhost" );
Returns clean name of server as file
- getApache, getApache2
-
my $hash = getApache();
Returns HTTPD_ROOT, SERVER_CONFIG_FILE, SERVER_VERSION and APACHE_VERSION as hash structure (reference).
- newconfig
-
my $config = newconfig( $c );
Returns new configuration
- to_void
-
my $v = to_void( $value );
Returns '' (void) if undefined $value else - returns $value
AUTHOR
Sergey Lepenkov (Serz Minus) http://www.serzik.com <minus@serzik.com>
COPYRIGHT
Copyright (C) 1998-2017 D&D Corporation. All Rights Reserved
LICENSE
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.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See LICENSE
file