"utime" is not exported by the Time::HiRes module

Getting this error when adding statement

use Time::HiRes qw( utime );

According to Time::HiRes perldoc it should be there, but it's not (looked in HiRes.pm). Does anybody know why? I am using perl 5.24.0, checked on several platforms (unix, win32). Trying to set high resolution timestamps on my files. Is there any other way?

Thank you!


You are using a version of Time::HiRes that predates the addition of utime . I'm not sure of the exact version in which utime was added, but it was after 1.9733 (2016-04-23) and no later than 1.9739 (2016-06-28). Upgrade Time::HiRes if you wish to use utime .

链接地址: http://www.djcxy.com/p/59230.html

上一篇: 没有订阅者的RabbitMQ队列

下一篇: “utime”不由Time :: HiRes模块导出