From: Mike Taylor Date: Fri, 17 Dec 2004 10:45:14 +0000 (+0000) Subject: Initial revision X-Git-Tag: INITIAL~1 X-Git-Url: http://git.indexdata.com/?p=perl-pqf.git;a=commitdiff_plain;h=b04df5cbb34e20c91a83ce0e4d1099abf46c1460 Initial revision --- b04df5cbb34e20c91a83ce0e4d1099abf46c1460 diff --git a/Changes b/Changes new file mode 100644 index 0000000..a1874ac --- /dev/null +++ b/Changes @@ -0,0 +1,6 @@ +Revision history for Perl extension Net::Z3950::PQF. + +0.01 Fri Dec 17 10:41:04 2004 + - original version; created by h2xs 1.22 with options + -b 5.6.0 -X Net::Z3950::PQF + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..55d454d --- /dev/null +++ b/MANIFEST @@ -0,0 +1,6 @@ +Changes +Makefile.PL +MANIFEST +PQF.pm +README +t/1.t diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..5726115 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,12 @@ +use 5.006; +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. +WriteMakefile( + 'NAME' => 'Net::Z3950::PQF', + 'VERSION_FROM' => 'PQF.pm', # finds $VERSION + 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 + ($] >= 5.005 ? ## Add these new keywords supported since 5.005 + (ABSTRACT_FROM => 'PQF.pm', # retrieve abstract from module + AUTHOR => 'Mike Taylor ') : ()), +); diff --git a/PQF.pm b/PQF.pm new file mode 100644 index 0000000..f787748 --- /dev/null +++ b/PQF.pm @@ -0,0 +1,92 @@ +package Net::Z3950::PQF; + +use 5.006; +use strict; +use warnings; + +require Exporter; +use AutoLoader qw(AUTOLOAD); + +our @ISA = qw(Exporter); + +# Items to export into callers namespace by default. Note: do not export +# names by default without a very good reason. Use EXPORT_OK instead. +# Do not simply export all your public functions/methods/constants. + +# This allows declaration use Net::Z3950::PQF ':all'; +# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK +# will save memory. +our %EXPORT_TAGS = ( 'all' => [ qw( + +) ] ); + +our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); + +our @EXPORT = qw( + +); + +our $VERSION = '0.01'; + + +# Preloaded methods go here. + +# Autoload methods go after =cut, and are processed by the autosplit program. + +1; +__END__ +# Below is stub documentation for your module. You'd better edit it! + +=head1 NAME + +Net::Z3950::PQF - Perl extension for blah blah blah + +=head1 SYNOPSIS + + use Net::Z3950::PQF; + blah blah blah + +=head1 ABSTRACT + + This should be the abstract for Net::Z3950::PQF. + The abstract is used when making PPD (Perl Package Description) files. + If you don't want an ABSTRACT you should also edit Makefile.PL to + remove the ABSTRACT_FROM option. + +=head1 DESCRIPTION + +Stub documentation for Net::Z3950::PQF, created by h2xs. It looks like the +author of the extension was negligent enough to leave the stub +unedited. + +Blah blah blah. + +=head2 EXPORT + +None by default. + + + +=head1 SEE ALSO + +Mention other useful documentation such as the documentation of +related modules or operating system documentation (such as man pages +in UNIX), or any relevant external documentation such as RFCs or +standards. + +If you have a mailing list set up for your module, mention it here. + +If you have a web site set up for your module, mention it here. + +=head1 AUTHOR + +Mike Taylor, Emike@localdomainE + +=head1 COPYRIGHT AND LICENSE + +Copyright 2004 by Mike Taylor + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut diff --git a/README b/README new file mode 100644 index 0000000..f2e7c87 --- /dev/null +++ b/README @@ -0,0 +1,38 @@ +Net/Z3950/PQF version 0.01 +========================== + +The README is used to introduce the module and provide instructions on +how to install the module, any machine dependencies it may have (for +example C compilers and installed libraries) and any other information +that should be provided before the module is installed. + +A README file is required for CPAN modules since CPAN extracts the +README file from a module distribution so that people browsing the +archive can use it get an idea of the modules uses. It is usually a +good idea to provide version information here so that people can +decide whether fixes for the module are worth downloading. + +INSTALLATION + +To install this module type the following: + + perl Makefile.PL + make + make test + make install + +DEPENDENCIES + +This module requires these other modules and libraries: + + blah blah blah + +COPYRIGHT AND LICENCE + +Put the correct copyright and licence information here. + +Copyright (C) 2004 Mike Taylor + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + diff --git a/releases/Net-Z3950-PQF-0.01.tar.gz b/releases/Net-Z3950-PQF-0.01.tar.gz new file mode 100644 index 0000000..37eab3d Binary files /dev/null and b/releases/Net-Z3950-PQF-0.01.tar.gz differ diff --git a/t/1.t b/t/1.t new file mode 100644 index 0000000..af6bdd9 --- /dev/null +++ b/t/1.t @@ -0,0 +1,17 @@ +# 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; +BEGIN { plan tests => 1 }; +use Net::Z3950::PQF; +ok(1); # If we made it this far, we're ok. + +######################### + +# Insert your test code below, the Test::More module is use()ed here so read +# its man page ( perldoc Test::More ) for help writing this test script. +