common: fix initial call to setup debug time
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 27 Apr 2017 01:15:18 +0000 (03:15 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 29 May 2017 16:51:18 +0000 (18:51 +0200)
Avoid string interpretation if module is not yet known at compile-time.

common.inc.plp

index 7935a8e..6b45e50 100644 (file)
@@ -28,7 +28,7 @@ $PLP::ERROR = sub {
 
 BEGIN {
        require Time::HiRes;
-       our $Time = [Time::HiRes::gettimeofday];
+       our $Time = [Time::HiRes::gettimeofday()];
 }
 
 # user request