Alien-Base-ModuleBuild
view release on metacpan or search on metacpan
lib/Alien/Base/ModuleBuild/FAQ.pod view on Meta::CPAN
that these flags do indeed work in C<alien_check_installed_version> above.
=back
For a fully implemented example, see L<Alien::Libbz2>.
=head2 How do I test my package once it is built (before it is installed)?
There are many ways to test Alien modules before (or after) they are installed, but instead
of rolling your own, consider using L<Test::Alien> which is light on dependencies and will
test your module very closely to the way that it will actually be used. That is to say by
building a mini XS or FFI extension and using it. It even has tests for tool oriented Alien
distributions (like L<Alien::gmake> and L<Alien::patch>). Here is a short example, there
are many others included with the L<Test::Alien> documentation:
use Test2::V0;
use Test::Alien 0.05;
use Alien::Editline;
alien_ok 'Alien::Editline';
my $xs = do { local $/; <DATA> };
( run in 0.767 second using v1.01-cache-2.11-cpan-483215c6ad5 )