replaced regex with CORE::time
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 29 Mar 2006 22:31:46 +0000 (22:31 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 29 Mar 2006 22:31:46 +0000 (22:31 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@674 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application.pm

index 99803e8..efd77a6 100644 (file)
@@ -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',