From: minima Date: Wed, 11 Jan 2006 21:14:01 +0000 (+0000) Subject: fix xmlout X-Git-Tag: R_1_52~31 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f8810e2112b1fa4a68472c265a71906e7dcccd3;p=spider.git fix xmlout --- diff --git a/perl/DXXml.pm b/perl/DXXml.pm index 1bea12c7..cd8abf59 100644 --- a/perl/DXXml.pm +++ b/perl/DXXml.pm @@ -119,10 +119,10 @@ sub toxml unless (exists $self->{'-xml'}) { $self->{o} ||= $main::mycall; - $self->{t} ||= IsoTime::dayms(); + $self->{t} ||= IsoTime::dayminsec(); $self->{id} ||= nextid(); - my ($name) = ref $self =~ /::(\w+)$/; + my ($name) = (ref $self) =~ /::(\w+)$/; $self->{'-xml'} = $xs->XMLout($self, RootName =>lc $name, NumericEscape=>1); } return $self->{'-xml'};