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
576139d5
Commit
576139d5
authored
Sep 18, 2016
by
Nigel Kukard
Browse files
Fixed comments
parent
706fa1e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/AWITPT/Util.pm
View file @
576139d5
# 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