Skip to content

Commit

Permalink
Modified Makefile.PL
Browse files Browse the repository at this point in the history
  • Loading branch information
pawa- committed Jan 9, 2013
1 parent 66cfbc4 commit 8ed059f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ sub rewrite_model_path
{
my $pm_path = './lib/Text/KyTea.pm';

open(my $in, '<', $pm_path) or $!;
open(my $in, '<', $pm_path) or die $!;
my @lines = <$in>;
close($in);

Expand All @@ -117,7 +117,7 @@ sub rewrite_model_path
}
}

open(my $out, '>', $pm_path) or $!;
open(my $out, '>', $pm_path) or die $!;
print {$out} @lines;
close($out);
}

0 comments on commit 8ed059f

Please sign in to comment.