# Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 1.t' ######################### # change 'tests => 1' to 'tests => last_test_to_print'; use Test::More tests => 1; use GPS; use Coro::Timer; (my $x = new GPS::Raw)->daemon; for (0..2) { use Data::Dumper; print STDERR Dumper($x->data); Coro::Timer::sleep 2; } ok(1);