summaryrefslogtreecommitdiffstats
path: root/metas/perl
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-04-15 20:25:05 +0200
committerJustin Davis <jrcd83@gmail.com>2012-04-15 20:25:05 +0200
commitf93da9060bb61ab0eb04360bfc617d1c4172927e (patch)
tree6976a4a00806cd2cac6c8714ff1a5515b792bf53 /metas/perl
parentace24e04ec402a12873a7b9bfd4b050e9054347a (diff)
downloadgenpkg-f93da9060bb61ab0eb04360bfc617d1c4172927e.tar.gz
genpkg-f93da9060bb61ab0eb04360bfc617d1c4172927e.tar.xz
Switch metas back to printing to stdout.
Diffstat (limited to 'metas/perl')
-rwxr-xr-xmetas/perl4
1 files changed, 1 insertions, 3 deletions
diff --git a/metas/perl b/metas/perl
index e136090..23f4907 100755
--- a/metas/perl
+++ b/metas/perl
@@ -89,8 +89,7 @@ sub main
}
fetchdist($cpath);
- open my $fh, '>', 'PKGDATA' or die "open: $!";
- print $fh <<"END_META";
+ print <<"END_META";
url
https://metacpan.org/release/$realname
@@ -98,7 +97,6 @@ source
http://search.cpan.org/CPAN/authors/id/$cpath
END_META
- close $fh;
my $file = $cpath; $file =~ s{.*/}{};
system 'perl-dist' => $file;