Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-frameworks
awit-perl-toolkit
Commits
eba048e5
Commit
eba048e5
authored
Sep 19, 2016
by
Nigel Kukard
Browse files
Merge branch 'commentfix-master' into 'master'
Fixed comments See merge request
!14
parents
706fa1e3
576139d5
Pipeline
#270
passed with stages
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/AWITPT/Util.pm
View file @
eba048e5
# Utility functions
# Copyright (C) 2008-201
4
, AllWorldIT
# Copyright (C) 2008-201
6
, AllWorldIT
#
# 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
...
...
@@ -373,7 +373,7 @@ sub isBoolean
# Nuke whitespaces
$var
=~
s/\s//g
;
# Allow true, on, set, enabled, 1, false, off, unset, disabled, 0
# Allow true, on, set, enabled,
yes,
1, false, off, unset, disabled,
no,
0
if
(
$var
=~
/^(?:true|on|set|enabled|yes|1)$/i
)
{
return
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment