- or download this
# Typical invocation: create a pure Perl module (no C code) called
# 'Amazing::Perl::Extension", omit AutoLoader
...
# You can even declare it as backward-compatible - e.g., w/Perl 5.7.1
h2xs -XA -b 5.7.1 Amazing::Perl::Extension
- or download this
lib/Amazing/Perl/Extension.pm # This is the boilerplate for your mod
+ule
t/Amazing-Perl-Extension.t # The Test::More-based test for loadin
+g it
...
Makefile.PL # ExtUtils::MakeMaker-based makefile m
+aker
MANIFEST # Listing of all of the above
README # Intro/installation instructions
- or download this
tar cvzf Amazing-Perl-Extension-0.01.tgz Amazing-Perl-Extension
- or download this
# This is in a separate file in t/*.t - e.g., 't/OS_test.t'
use Test::More tests => 1;
ok($^O !~ /^(?:MSWin|VMS|dos|MacOS|os2|epoc|cygwin)/i) or BAIL_OUT("OS
+ unsupported");
- or download this
use Test::More tests => 1;
ok($^O eq 'linux');
- or download this
=head1 ABSTRACT
...
=end text