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
2bbf4c76
Commit
2bbf4c76
authored
May 23, 2016
by
Leo Gordon
Browse files
accept multiline (manual) stringifications as valid
parent
deea31aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/Bio/EnsEMBL/Hive/Utils.pm
modules/Bio/EnsEMBL/Hive/Utils.pm
+4
-4
No files found.
modules/Bio/EnsEMBL/Hive/Utils.pm
View file @
2bbf4c76
...
...
@@ -101,10 +101,10 @@ sub destringify {
my
$value
=
pop
@_
;
if
(
$value
)
{
if
(
$value
=~
/^'.*'$/
or
$value
=~
/^".*"$/
or
$value
=~
/^{.*}$/
or
$value
=~
/^\[.*\]$/
if
(
$value
=~
/^'.*'$/
s
or
$value
=~
/^".*"$/
s
or
$value
=~
/^{.*}$/
s
or
$value
=~
/^\[.*\]$/
s
or
$value
eq
'
undef
')
{
$value
=
eval
(
$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