From 635b2ce8c382e7515adc8232064caa689cdee0c9 Mon Sep 17 00:00:00 2001 From: Mischa Poslawsky Date: Thu, 31 Jul 2008 12:29:09 +0200 Subject: [PATCH] build script Add MANIFEST and Build.PL with Module::Build setup; everything one needs to install and create meta files. Add author and abstract to pod, and define a normal perl/gpl license. --- .gitignore | 4 ++++ Build.PL | 22 ++++++++++++++++++++++ MANIFEST | 5 +++++ lib/HTML/Form/Simple.pm | 11 ++++++++++- 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 Build.PL create mode 100644 MANIFEST diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e3a5a6b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/META.yml +/Build +/_build +/blib diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..dd571a0 --- /dev/null +++ b/Build.PL @@ -0,0 +1,22 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +use Module::Build; + +Module::Build->new( + module_name => 'HTML::Form::Simple', + dynamic_config => 0, + license => 'perl', + requires => { + 'XML::Quote' => '0', + 'perl' => '5.005_03', + }, + meta_merge => { + resources => { + repository => 'git://dev.shiar.net/html-form-simple', + }, + }, +)->create_build_script; + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..5f33560 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,5 @@ +Build.PL +MANIFEST +META.yml +lib/HTML/Form/Simple.pm +t/html.t diff --git a/lib/HTML/Form/Simple.pm b/lib/HTML/Form/Simple.pm index e2a586d..730c41b 100644 --- a/lib/HTML/Form/Simple.pm +++ b/lib/HTML/Form/Simple.pm @@ -210,7 +210,7 @@ sub check { =head1 NAME -HTML::Form::Simple +HTML::Form::Simple - Generate HTML form elements =head1 SYNOPSIS @@ -235,3 +235,12 @@ HTML::Form::Simple ); say $input->stop; # +=head1 AUTHOR + +Mischa POSLAWSKY + +=head1 LICENSE + +This module is free software; you can redistribute it and/or modify it +under the same L as Perl itself. + -- 2.30.0