From: Don Armstrong Date: Mon, 19 May 2008 15:00:40 +0000 (+0000) Subject: * Update perl module header for EXPORT_TAGS X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=c49c676cfbdeb601bbcabcfc435229bc2f913fcd * Update perl module header for EXPORT_TAGS --- diff --git a/templates/perl_module_header.pm b/templates/perl_module_header.pm index 023005c..f3633f3 100644 --- a/templates/perl_module_header.pm +++ b/templates/perl_module_header.pm @@ -1,7 +1,7 @@ # This module is part of , and is released # under the terms of the GPL version 2, or any later version. See the # file README and COPYING for more information. -# Copyright 2006 by Don Armstrong . +# Copyright 2008 by Don Armstrong . # $Id$ package ; @@ -32,10 +32,10 @@ BEGIN{ $DEBUG = 0 unless defined $DEBUG; @EXPORT = (); -# %EXPORT_TAGS = (a => [qw()] -# ); + %EXPORT_TAGS = (#a => [qw()], + ); @EXPORT_OK = (); -# Exporter::export_ok_tags(qw(add get)); + Exporter::export_ok_tags(keys %EXPORT_TAGS); $EXPORT_TAGS{all} = [@EXPORT_OK]; }