Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed code format

  • Loading branch information...
commit 663e6637baa5fb403e524e111b3aeb9991066bf2 1 parent a286e1f
@hideo55 authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/App/pmtemplate.pm
View
14 lib/App/pmtemplate.pm
@@ -146,19 +146,19 @@ sub create {
my $code = $mt->code;
my $render = eval $code or die $@;
- my $result = $render->(
+ my $result = $render->(
{ name => $config->{name},
email => $config->{email},
package_name => $package_name,
}
);
- my $target_dir = dir($opts->{dir});
- $target_dir->mkpath;
- my $pmfile = (split '::', $package_name )[-1] . '.pm';
- my $pmfile_fh = $target_dir->file($pmfile)->openw;
- print $pmfile_fh $result;
- close $pmfile_fh;
+ my $target_dir = dir( $opts->{dir} );
+ $target_dir->mkpath;
+ my $pmfile = ( split '::', $package_name )[-1] . '.pm';
+ my $pmfile_fh = $target_dir->file($pmfile)->openw;
+ print $pmfile_fh $result;
+ close $pmfile_fh;
}
Please sign in to comment.
Something went wrong with that request. Please try again.