print PM <<"END";
package $module;
++require 5.005_62;
use strict;
END
# 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 $module ':all';
+ # If you do not need this, moving things directly into \@EXPORT or \@EXPORT_OK
+ # will save memory.
-%EXPORT_TAGS = ( 'all' => [ qw(
++our %EXPORT_TAGS = ( 'all' => [ qw(
+ @exported_names
+ ) ] );
+
-\@EXPORT_OK = ( \@{ \$EXPORT_TAGS{'all'} } );
-
-\@EXPORT = (
++our \@EXPORT_OK = ( \@{ \$EXPORT_TAGS{'all'} } );
+
+our \@EXPORT = qw(
+ @const_names
);
-\$VERSION = '$TEMPLATE_VERSION';
+our \$VERSION = '$TEMPLATE_VERSION';
END