From: djk Date: Sun, 14 Nov 1999 20:55:36 +0000 (+0000) Subject: got rid of useless brakets on eval in decode in DXUser X-Git-Tag: R_1_35~32 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d48a80e399a780eb6a880870346a46e02f0e7972;p=spider.git got rid of useless brakets on eval in decode in DXUser --- diff --git a/perl/DXUser.pm b/perl/DXUser.pm index 554a9930..9f61312e 100644 --- a/perl/DXUser.pm +++ b/perl/DXUser.pm @@ -216,7 +216,7 @@ sub decode my $s = shift; my $ref; $s = '$ref = ' . $s; - eval { $s; }; + eval $s; Log('DXUser', $@) if $@; $ref = undef if $@; return $ref;