Skip to content
Browse files

[bin/crypt] an extra .trim removes a newline

  • Loading branch information...
1 parent a36b8dd commit 88425cd3967a70f52c02197547a7f2b8d61a2474 @masak committed Jul 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/crypt
View
2 bin/crypt
@@ -251,7 +251,7 @@ multi MAIN() {
my $game = Crypt::Game.new();
my %descriptions;
- for slurp("game-data/descriptions").split(/\n\n/) {
+ for slurp("game-data/descriptions").trim.split(/\n\n/) {
/^^ '== ' (\N+) \n (.*)/
or die "Could not parse 'descriptions' file: $_";
%descriptions{$0} = ~$1;

0 comments on commit 88425cd

Please sign in to comment.
Something went wrong with that request. Please try again.