AnyEvent-GPSD
view release on metacpan or search on metacpan
}
}
=item $gps->replay_log ($path, %options)
Replays a log file written using C<record_log> (or stops replaying when
C<$path> is undefined). While the log file replays, real GPS events will
be ignored. This comes in handy when testing.
Please note that replaying a log will change configuration options that
will not be restored, so it's best not to reuse a gpsd object after a
replay.
The C<AnyEvent::GPSD> distribution comes with an example log
(F<eg/example.aegps>) that you can replay for testing or enjoyment
purposes.
The options include:
=over 4
file can later be replayed by calling "$gps->replay_log ($path)".
If $path is undefined then the log will be closed.
$gps->replay_log ($path, %options)
Replays a log file written using "record_log" (or stops replaying
when $path is undefined). While the log file replays, real GPS
events will be ignored. This comes in handy when testing.
Please note that replaying a log will change configuration options
that will not be restored, so it's best not to reuse a gpsd object
after a replay.
The "AnyEvent::GPSD" distribution comes with an example log
(eg/example.aegps) that you can replay for testing or enjoyment
purposes.
The options include:
compress => 1
If set to a true value (default: false), then passages without
( run in 0.534 second using v1.01-cache-2.11-cpan-4e96b696675 )