Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
917d1458
Commit
917d1458
authored
Jan 05, 2015
by
Matthieu Muffato
Browse files
Test that it is defined, not logically true
The problem was that "0" was not eval-ed
parent
028a428f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/Bio/EnsEMBL/Hive/Utils.pm
modules/Bio/EnsEMBL/Hive/Utils.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/Utils.pm
View file @
917d1458
...
...
@@ -105,7 +105,7 @@ sub stringify {
sub
destringify
{
my
$value
=
pop
@_
;
if
(
$value
)
{
if
(
defined
$value
)
{
if
(
$value
=~
/^'.*'$/
or
$value
=~
/^".*"$/
or
$value
=~
/^{.*}$/
...
...
Write
Preview
Markdown
is supported
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