我想在 Perl 中获取以纳秒为单位的系统时间。我尝试了Time::HiRes模块,它只支持微秒。
Time::HiRes
perl time nanotime
nanotime ×1
perl ×1
time ×1