shorter way of customizing our COPYRIGHT pod section
Karen Etheridge [Tue, 19 May 2015 18:47:09 +0000 (11:47 -0700)]
dist.ini
weaver.ini

index df4f5bc..1a41ad4 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -21,3 +21,4 @@ Devel::CheckBin = 0
 check_dual_life_versions = 0
 
 ; authordep Pod::Weaver::Section::Contributors = 0.008
+; authordep Pod::Weaver::Section::AllowOverride
index 87753a4..b854248 100644 (file)
@@ -1,37 +1,10 @@
-; this is [@Default] without [Legal]...
+[@Default]
 
-[@CorePrep]
+[Contributors]
 
-[-SingleEncoding]
-
-[Name]
-[Version]
-
-[Region  / prelude]
-
-[Generic / SYNOPSIS]
-[Generic / DESCRIPTION]
-[Generic / OVERVIEW]
-
-[Collect / ATTRIBUTES]
-command = attr
-
-[Collect / METHODS]
-command = method
-
-[Collect / FUNCTIONS]
-command = func
-
-[Leftovers]
-
-[Region  / postlude]
-
-[Authors]
-[Contributors]  ; okay, and this is added too
-; [Legal]       ; snip!
-
-[Generic / COPYRIGHT AND LICENSE]
-required = 1
+[AllowOverride / OverrideLegal]
+header_re = ^COPYRIGHT
+match_anywhere = 1
 
 [-Transformer]
 transformer = List