Permalink
Browse files

dzil: Tell Pod::Weaver to properly name the pods of scripts

  • Loading branch information...
sharyanto committed Jun 13, 2012
1 parent e22ffe7 commit 23bfaa1c19f36787df0530c5a693ec1ec0a2ed75
Showing with 8 additions and 28 deletions.
  1. +2 −7 bin/perlcp
  2. +2 −7 bin/perlln
  3. +2 −6 bin/perlln_s
  4. +2 −8 bin/perlmv
View
@@ -1,8 +1,5 @@
#!/usr/bin/perl
-# workaround for dzil
-package perlcp;
-
use strict;
use warnings;
use FindBin '$Bin';
@@ -14,10 +11,8 @@ $pmv->{ 'mode' } = 'copy';
$pmv->run;
1;
-__END__
-=head1 NAME
-
-perlcp - Copy files using Perl code
+# ABSTRACT: Copy files using Perl code
+# PODNAME: perlcp
=head1 DESCRIPTION
View
@@ -1,8 +1,5 @@
#!/usr/bin/perl
-# workaround for dzil
-package perlln;
-
use strict;
use warnings;
use FindBin '$Bin';
@@ -14,10 +11,8 @@ $pmv->{ 'mode' } = 'link';
$pmv->run;
1;
-__END__
-=head1 NAME
-
-perlln - Link files using Perl code
+# ABSTRACT: Link files using Perl code
+# PODNAME: perlln
=head1 DESCRIPTION
View
@@ -1,8 +1,5 @@
#!/usr/bin/perl
-# workaround for dzil
-package perlln_s;
-
use strict;
use warnings;
use FindBin '$Bin';
@@ -14,9 +11,8 @@ $pmv->{ 'mode' } = 'symlink';
$pmv->run;
1;
-=head1 NAME
-
-perlln_s - Symlink files using Perl code
+# ABSTRACT: Symlink files using Perl code
+# PODNAME: perlln_s
=head1 DESCRIPTION
View
@@ -1,8 +1,5 @@
#!/usr/bin/perl
-# workaround for dzil
-package perlmv;
-
use strict;
use warnings;
use FindBin '$Bin';
@@ -14,11 +11,8 @@ $pmv->{ 'mode' } = 'rename';
$pmv->run;
1;
-__END__
-
-=head1 NAME
-
-perlmv - Rename files using Perl code
+# ABSTRACT: Rename files using Perl code
+# PODNAME: perlmv
=head1 SYNOPSIS

0 comments on commit 23bfaa1

Please sign in to comment.