NAME
Guard::Stats::Instance - guard object base class. See Guard::Stats.
new (%options)
Normally, new() is called by Guard::Stats->guard.
Options may include:
owner - the calling Guard::Stats object.
want_time - whether to track execution times.
end ( [$result], ... )
Mark guarded action as finished. Finish may be called only once, subsequent calls only produce warnings.
Passing $result will alter the 'result' statistics in owner.
is_done
Tell if finish() was called on this particular guard.
AUTHOR
Konstantin S. Uvarin, <khedin at gmail.com>
BUGS
Please report any bugs or feature requests to bug-guard-stat at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Guard-Stats. 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 Guard::Stats
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2013 Konstantin S. Uvarin.
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.