projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved $build calculation to main routine to make it available everywhere
[spider.git]
/
perl
/
DXHash.pm
diff --git
a/perl/DXHash.pm
b/perl/DXHash.pm
index b97d54c79608a7f59faf6f1c152b2dc63a83e178..c809dfd3c6c0cd50ca41a8fed21734696c979077 100644
(file)
--- a/
perl/DXHash.pm
+++ b/
perl/DXHash.pm
@@
-29,7
+29,7
@@
sub new
{
my ($pkg, $name) = @_;
my $s = readfilestr($main::data, $name);
{
my ($pkg, $name) = @_;
my $s = readfilestr($main::data, $name);
- my $self = eval $s;
+ my $self = eval $s
if $s
;
dbg('err', "error in reading $name in DXHash $@") if $@;
$self = bless {name => $name}, $pkg unless $self;
return $self;
dbg('err', "error in reading $name in DXHash $@") if $@;
$self = bless {name => $name}, $pkg unless $self;
return $self;