map { $_ => $hr->{$_} } sort keys %$hr;
}
+# Make sure no package FOO statement appears in this file.
+my $package_statement = join ' ', 'package',
+ $task_pkg;
+
my %vars = (
TARGET_PKG => $target_pkg,
TARGET_VERSION => $target_version,
TASK_PKG => $task_pkg,
+ PACKAGE_TASK_PKG => $package_statement,
TASK_VERSION => $new_task_version,
PERL_PREREQ => $prereqs{perl},
CONFIGURE_PREREQS_POD => deplist_to_pod(sorthr $prereqs{configure}),
my %templates = (
$task_file => <<'TEMPLATE',
-package __TASK_PKG__;
+__PACKAGE_TASK_PKG__;
use strict;
use warnings;