linux - Get time in milliseconds without an installing an extra package? - Stack Overflow

linux - Get time in milliseconds without an installing an extra package? - Stack Overflow

瀏覽:1239
日期:2024-08-30
Time::HiRes has been part of the core since Perl 5.7.3. To check for it's availability, check for the Perl version, perl -v, or try to use it with perl -e 'use Time::HiRes;', both from the command line. Sample usage: use Time::HiRes qw/ time sleep /; my $...看更多