chomp lines
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 16 Oct 2010 17:51:00 +0000 (17:51 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 16 Oct 2010 17:51:00 +0000 (17:51 +0000)
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1347 07558da8-63fa-0310-ba24-9fe276d99e06

lib/WebPAC/Input/TSV.pm

index 4871fb8..9fc8524 100644 (file)
@@ -43,6 +43,7 @@ sub new {
        $self->{size} = 0;
 
        while ( my $line = <$fh> ) {
+               chomp $line;
 
                my $rec;
                $rec->{'000'} = [ ++$self->{size} ];