Permalink
Browse files

removed perl 5.14 dependency

  • Loading branch information...
1 parent 0a1be97 commit f137bd96df9d1b749bcc754d1685e5fdc64c86c5 @andrefs committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Lingua/EN/Sentence/Offsets.pm
@@ -234,10 +234,10 @@ sub _split_sentence {
my $last = $offsets->[$i][1];
$offsets->[$i][1] = $end;
while(my $p = shift @$split_points){
- push $offsets, [$start,$p->[0]];
+ push @$offsets, [$start,$p->[0]];
$start = $p->[1];
}
- push $offsets, [$start, $last];
+ push @$offsets, [$start, $last];
}
=method adjust_offsets

0 comments on commit f137bd9

Please sign in to comment.