| 1 | package Acme::Ford::Prefect; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use Acme::Alien::DontPanic; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | our $VERSION = '0.005'; | |
| 9 | 1 | $VERSION = eval $VERSION; | |
| 10 | |||
| 11 | #use XSLoader; | ||
| 12 | #XSLoader::load; | ||
| 13 | |||
| 14 | 1 | require DynaLoader; | |
| 15 | 1 | our @ISA = 'DynaLoader'; | |
| 16 | 1 | __PACKAGE__->bootstrap($VERSION); | |
| 17 | |||
| 18 | 1 | 1; | |
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Acme::Ford::Prefect - Test Module for Alien::Base | ||
| 23 | |||
| 24 | =head1 SYNOPSIS | ||
| 25 | |||
| 26 | use strict; | ||
| 27 | use warnings; | ||
| 28 | use Acme::Ford::Prefect; | ||
| 29 | use Test::More tests => 1; | ||
| 30 | |||
| 31 | is Acme::Ford::Prefect::answer(), 42; | ||
| 32 | # if 42 is returned then Acme::Alien::DontPanic | ||
| 33 | # properly provided the C library | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | L<Alien::Base> comprises base classes to help in the construction of C<Alien::> modules. Modules in the L<Alien> namespace are used to locate and install (if necessary) external libraries needed by other Perl modules. | ||
| 38 | |||
| 39 | This module is a toy module to test the efficacy of the L<Alien::Base> system. This module depends on another toy module L<Acme::Alien::DontPanic>, which provides the needed the F<libdontpanic> library to be able to tell us the C<answer>. | ||
| 40 | |||
| 41 | =head1 SEE ALSO | ||
| 42 | |||
| 43 | =over | ||
| 44 | |||
| 45 | =item * | ||
| 46 | |||
| 47 | L<Alien::Base> | ||
| 48 | |||
| 49 | =item * | ||
| 50 | |||
| 51 | L<Alien> | ||
| 52 | |||
| 53 | =item * | ||
| 54 | |||
| 55 | L<Acme::Alien::DontPanic> | ||
| 56 | |||
| 57 | =back | ||
| 58 | |||
| 59 | =head1 SOURCE REPOSITORY | ||
| 60 | |||
| 61 | L<http://github.com/jberger/Alien-Base-Extras> | ||
| 62 | |||
| 63 | =head1 AUTHOR | ||
| 64 | |||
| 65 | Joel Berger, E<lt>joel.a.berger@gmail.comE<gt> | ||
| 66 | |||
| 67 | =head1 COPYRIGHT AND LICENSE | ||
| 68 | |||
| 69 | Copyright (C) 2012 by Joel Berger | ||
| 70 | |||
| 71 | This library is free software; you can redistribute it and/or modify | ||
| 72 | it under the same terms as Perl itself. | ||
| 73 | |||
| 74 | =cut | ||
| 75 | |||