X-Git-Url: https://git.donarmstrong.com/?p=perltidy.git;a=blobdiff_plain;f=pm2pl;fp=pm2pl;h=3e3af2c667d0c27869fc198701bbb543edfa8672;hp=699293639bf78381ecd44e2bdc93eb4fe50adcd2;hb=effbe8e558790d5f5e4eb49a10b2ed020b0eaaee;hpb=c514d57dc8088e1f4d3f51857b1155c20085c296 diff --git a/pm2pl b/pm2pl index 6992936..3e3af2c 100755 --- a/pm2pl +++ b/pm2pl @@ -73,7 +73,7 @@ my $VERSION = get_version("lib/Perl/Tidy.pm"); my $outfile = "perltidy-$VERSION.pl"; if ( $Opts{o} ) { $outfile = $Opts{o} } my $fh_out; -open( $fh_out,, ">", $outfile ) or die "can't open file '$outfile' : $!\n"; +open( $fh_out, ">", $outfile ) or die "can't open file '$outfile' : $!\n"; print "Creating standalone perltidy script '$outfile' ...."; # first, open the script and copy the first (hash-bang) line