NAME

Timer::Runtime

VERSION

Version 0.01

SYNOPSIS

Timer::Runtime wraps a program with START and END blocks used to get the start/stop times and caculate the runtime duration. This information is printed to STDOUT. Note that if the program exists using 'exec', then the stop time won't be seen due to the END block in Timer::Runtime not being called.

use Timer::Runtime;

#  output
#<script_name> Started: Thu Aug 12 20:34:49 2010
#<script_name> Finished: Thu Aug 12 20:34:49 2010, elapsed time = 00:00:00.000114

AUTHOR

Adam H Wohld, <adam at jamradar.com>

BUGS

Please report any bugs or feature requests to bug-timer-runtime at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Timer-Runtime. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Timer::Runtime

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Adam Wohld.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.