From a3f7a7fe67753bbb6ab9202a6dc8d174b25ab3f3 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 29 Mar 2006 22:31:46 +0000 Subject: [PATCH] replaced regex with CORE::time git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@674 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/Application.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/perlmods/OpenSRF/Application.pm b/src/perlmods/OpenSRF/Application.pm index 99803e8..efd77a6 100644 --- a/src/perlmods/OpenSRF/Application.pm +++ b/src/perlmods/OpenSRF/Application.pm @@ -709,9 +709,7 @@ __PACKAGE__->register_method( sub time_method { my( $self, $conn ) = @_; - my $t = time; - $t =~ s/\..*//og; # - remove milli/microseconds from Time::HiRes (should we strip this?) - return $t; + return CORE::time; } __PACKAGE__->register_method( method => 'time_method', -- 2.11.0