diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Time/HiRes.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Time/HiRes.pm | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/tlpkg/tlperl/lib/Time/HiRes.pm b/Master/tlpkg/tlperl/lib/Time/HiRes.pm index 8f2ec21331b..5223ba99e96 100644 --- a/Master/tlpkg/tlperl/lib/Time/HiRes.pm +++ b/Master/tlpkg/tlperl/lib/Time/HiRes.pm @@ -1,15 +1,15 @@ package Time::HiRes; +{ use 5.006; } use strict; -use vars qw($VERSION $XS_VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD); require Exporter; require DynaLoader; -@ISA = qw(Exporter DynaLoader); +our @ISA = qw(Exporter DynaLoader); -@EXPORT = qw( ); -@EXPORT_OK = qw (usleep sleep ualarm alarm gettimeofday time tv_interval +our @EXPORT = qw( ); +our @EXPORT_OK = qw (usleep sleep ualarm alarm gettimeofday time tv_interval getitimer setitimer nanosleep clock_gettime clock_getres clock clock_nanosleep CLOCK_HIGHRES CLOCK_MONOTONIC CLOCK_PROCESS_CPUTIME_ID @@ -23,10 +23,11 @@ require DynaLoader; stat ); -$VERSION = '1.9721_01'; -$XS_VERSION = $VERSION; +our $VERSION = '1.9725'; +our $XS_VERSION = $VERSION; $VERSION = eval $VERSION; +our $AUTOLOAD; sub AUTOLOAD { my $constname; ($constname = $AUTOLOAD) =~ s/.*:://; @@ -275,7 +276,7 @@ if an error occurred. B<NOTE 1>: With some combinations of operating systems and Perl releases C<SIGALRM> restarts C<select()>, instead of interrupting it. This means that an C<alarm()> followed by a C<select()> may together -take the sum of the times specified for the the C<alarm()> and the +take the sum of the times specified for the C<alarm()> and the C<select()>, not just the time of the C<alarm()>. Note that the interaction between alarms and sleeps is unspecified. @@ -585,6 +586,8 @@ Copyright (c) 1996-2002 Douglas E. Wegscheid. All rights reserved. Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Jarkko Hietaniemi. All rights reserved. +Copyright (C) 2011, 2012 Andrew Main (Zefram) <zefram@fysh.org> + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |