The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Win32::Uptime - Calculate uptime for Win32 systems

VERSION

1.02

SYNOPSIS

 use Win32::Uptime;
 print Win32::Uptime::uptime(); # in milliseconds

DESCRIPTION

Win32::Uptime

METHODS

uptime

This method retrieves the number of milliseconds that have elapsed since the system was started.

If uptime is more than notorious 49.7 days, and you have pagefile in your system, it will be calculated correctly. If not, you lose.

Takes no parameters.

AUTHORS

Serguei Trouchelle <stro@cpan.org>

COPYRIGHT

Copyright (c) 2007-2010 Serguei Trouchelle. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.