NAME
Runops::Recorder - Runops replacement which saves what is being performed
SYNOPSIS
# will save to a runops-recorder.data file in the current directory
perl -MRunops::Recorder <program>
# and then to view the recording
rr-viewer runops-recorder.data
DESCRIPTION
Runops::Recorder is an alternative runops which saves what it does into a file that can later be viewed using the rr-viewer tool.
VIEWING THE RECORDING
Use the 'rr-viewer' tool. It just takes the path with the recording as an argument. Press 'q' to quit or any other key to step to the next event. Press 's' to skip any events in the current file until end of recording. Press 'a' to toggle wether we should skip whatever is in @INC when the recorder what loaded. Press 'h' for help.
The environment variable RR_AUTORUN tells the viewer to run automaticly. The value should be the sleep time until stepping. And yes, it uses Time::HiRes so you can give it fracitonal seconds.
If you set RR_SKIP_INC the autorun will not show @INC files as the 'a' option does.
TODO
Record more things such as changes to variables, opened file descriptors etc.
AUTHOR
Claes Jakobsson, <claesjac@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 by Claes Jakobsson
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.