From: Mike Taylor Date: Wed, 29 Nov 2006 18:17:16 +0000 (+0000) Subject: Remove _isodate() method, used only within the class. X-Git-Tag: CPAN-v1.02~750 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d5c2a768a43e05850dc431cd4787f179627821c6;p=irspy-moved-to-github.git Remove _isodate() method, used only within the class. Use isodate() directly, imported from Utils.pm --- diff --git a/lib/ZOOM/IRSpy/Record.pm b/lib/ZOOM/IRSpy/Record.pm index 52e2b41..9141a51 100644 --- a/lib/ZOOM/IRSpy/Record.pm +++ b/lib/ZOOM/IRSpy/Record.pm @@ -1,4 +1,4 @@ -# $Id: Record.pm,v 1.19 2006-11-01 10:14:56 mike Exp $ +# $Id: Record.pm,v 1.20 2006-11-29 18:17:16 mike Exp $ package ZOOM::IRSpy::Record; @@ -8,7 +8,7 @@ use warnings; use XML::LibXML; use XML::LibXML::XPathContext; -use ZOOM::IRSpy::Utils qw(xml_encode); +use ZOOM::IRSpy::Utils qw(xml_encode isodate); =head1 NAME @@ -101,7 +101,7 @@ sub store_result { $xml .= " $key=\"" . $this->_string2cdata($info{$key}) . "\""; } - $xml .= ">" . $this->_isodate(time()) . "\n"; + $xml .= ">" . isodate(time()) . "\n"; $this->append_entry('irspy:status', $xml); } @@ -173,12 +173,6 @@ sub _string2cdata { } -sub _isodate { - my ($this, $time) = @_; - return ZOOM::IRSpy::Test::isodate($time); -} - - =head1 SEE ALSO ZOOM::IRSpy